Fix use-toast module path (#4728)

This commit is contained in:
xuxucode
2024-09-04 02:37:11 +08:00
committed by GitHub
parent cfba3fdf70
commit 77fc5ec8db

View File

@@ -104,7 +104,7 @@ export default function RootLayout({ children }) {
The `useToast` hook returns a `toast` function that you can use to display a toast.
```tsx
import { useToast } from "@/components/ui/use-toast"
import { useToast } from "@/components/hooks/use-toast"
```
```tsx {2,7-10}