Toast notifications

This commit is contained in:
Brad Traversy
2024-07-12 07:13:33 -04:00
parent 91f038a33f
commit 5457768fac
4 changed files with 32 additions and 2 deletions
+3
View File
@@ -1,5 +1,7 @@
import Navbar from '@/components/Navbar';
import AuthProvider from '@/components/AuthProvider';
import { ToastContainer } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
import '@/assets/styles/globals.css';
export const metadata = {
@@ -15,6 +17,7 @@ const MainLayout = ({ children }) => {
<body>
<Navbar />
<main>{children}</main>
<ToastContainer />
</body>
</html>
</AuthProvider>