You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { useToast } from "@/components/hooks/use-toast"
This causes an error because use toast is in @/hooks/use-toast
It should be: import { useToast } from "@/hooks/use-toast"
Affected component/components
Toast
How to reproduce
npx shadcn add toast
Go to toaster.jsx in @/components/ui
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Windows 11
Node.Js
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
Describe the bug
In line 3 of toaster.jsx it shows:
import { useToast } from "@/components/hooks/use-toast"
This causes an error because use toast is in @/hooks/use-toast
It should be:
import { useToast } from "@/hooks/use-toast"
Affected component/components
Toast
How to reproduce
npx shadcn add toast
Go to toaster.jsx in
@/components/ui
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: