Skip to content

Commit

Permalink
Fix use-toast module path (#4728)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxucode authored Sep 3, 2024
1 parent cfba3fd commit 77fc5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/content/docs/components/toast.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 77fc5ec

Please sign in to comment.