Implemented the toastify notifications.
This commit is contained in:
1 parent
7bd4ce9e6a
commit
3f418a45f5
4 files changed
+26
-3
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,10 @@
|
||||
import { ToastContainer, toast } from 'react-toastify';
|
||||
import 'react-toastify/dist/ReactToastify.css';
|
||||
|
||||
const Notification = () => {
|
||||
return <ToastContainer />;
|
||||
};
|
||||
|
||||
export const notify = (message) => toast(message);
|
||||
|
||||
export default Notification;
|
||||
Reference in new issue
Block a user