Fix: Resolve toast notification issue
The toast notifications were not displaying. This commit addresses the problem.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
import { useToast } from "@/hooks/use-toast"
|
||||
import {
|
||||
Toast,
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
|
||||
// useToast.wrapper.ts에서 수정된 toast 함수를 사용하도록 리디렉션
|
||||
import { useToast, toast } from "@/hooks/useToast.wrapper";
|
||||
// Shadcn UI의 최신 버전에서는 use-toast가 hooks 폴더로 이동했습니다.
|
||||
// 이 파일은 기존 import 경로가 작동하도록 리디렉션합니다.
|
||||
import { useToast, toast } from "@/hooks/use-toast";
|
||||
|
||||
export { useToast, toast };
|
||||
export type { ToasterToast } from "@/hooks/use-toast";
|
||||
|
||||
Reference in New Issue
Block a user