Removed unused imports and linting warnings - #71
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes minor improvements and dependency updates across several files, as well as a fix to the dependency arrays in custom hooks. The most notable changes are in the hooks for fetching Vapi data, which now correctly include dependencies to prevent stale closures.
Hooks and Dependency Fixes:
useVapiAssistantsto includegetAssistants, ensuring the effect re-runs when the function reference changes.useVapiPhoneNumbersto includegetPhoneNumbers, ensuring the effect re-runs when the function reference changes.Code Cleanup and Minor Updates:
zfromcustomization-form.tsxfor cleaner code.Imagefromdashboard-sidebar.tsxfor cleaner code.setErrorMessageandsetScreento the dependency array inwidget-loading-screen.tsxto ensure correct effect behavior.## What does this change do, and why?Which area(s) does this touch?
apps/web)apps/widget)apps/embed)packages/backend)packages/ui)How was this tested?
Multi-tenancy / auth impact
Related issues