[bug]: ESLint no-unused-vars Error for actionTypes in use-toast.ts with Next.js Build #6708
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug
I’m encountering an ESLint error (@typescript-eslint/no-unused-vars) related to actionTypes in use-toast.ts when using shadcn/ui in a Next.js project.
This error appears when I run npm run lint.
This error can be resolved by making the following changes.
Before (Current Code):
After (Fixed Code):
Affected component/components
useToast / use-toast.ts
How to reproduce
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting
The text was updated successfully, but these errors were encountered: