diff --git a/_frontend/src/components/Toasts.jsx b/_frontend/src/components/Toasts.jsx index 1d14b13..a9bb361 100644 --- a/_frontend/src/components/Toasts.jsx +++ b/_frontend/src/components/Toasts.jsx @@ -6,6 +6,15 @@ let globalToastId = 0 const ToastContext = createContext([]) +export const ToastMessage = ({ icon, children }) => { + return ( +
{children}
+{message}
{id}
- >
+ {id}
+