add react hot toast

This commit is contained in:
Aaron Po
2026-03-15 21:27:32 -04:00
parent cbaa5bfbca
commit 00b696b3f0
10 changed files with 154 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
import toast from "react-hot-toast";
export const showSuccessToast = (message: string) => toast.success(message);
export const showErrorToast = (message: string) => toast.error(message);
export const showInfoToast = (message: string) => toast(message);
export const dismissToasts = () => toast.dismiss();