Skip to content

Commit c4ed20f

Browse files
committed
refactor: move use-toast to hooks subdir
1 parent 8f18478 commit c4ed20f

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"exports": {
1010
"./*": "./dist/components/*.tsx",
11-
"./ui/use-toast": "./dist/components/ui/use-toast.ts"
11+
"./hooks/*": "./dist/hooks/*.ts"
1212
},
1313
"files": [
1414
"dist/**/*"

src/components/ui/toaster.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
ToastTitle,
99
ToastViewport,
1010
} from "@/components/ui/toast"
11-
import { useToast } from "@/components/ui/use-toast"
11+
import { useToast } from "@/hooks/use-toast"
1212

1313
export function Toaster() {
1414
const { toasts } = useToast()
File renamed without changes.

0 commit comments

Comments
 (0)