This commit is contained in:
focp212@naver.com
2025-10-22 14:21:14 +09:00
parent 1e7f13d5cc
commit 556b3f2a6a
27 changed files with 178 additions and 397 deletions

11
src/shared/lib/toast.ts Normal file
View File

@@ -0,0 +1,11 @@
import { toast } from "react-toastify";
export const snackBar = (text: string) => {
toast.dismiss({ containerId: 'snackbar' });
toast(text, { containerId: 'snackbar' });
};
export const notiBar = (text: string) => {
toast.dismiss({ containerId: 'notibar' });
toast(text, { containerId: 'notibar' });
};