add toastify component

This commit is contained in:
Ehsan
2024-10-26 00:51:59 +03:30
parent 638d0d78f5
commit 60276b3ba0
9 changed files with 121 additions and 5 deletions
+5
View File
@@ -3,6 +3,10 @@ import ThemeRegistry from "./component/ThemeRegistry";
import "jalaali-react-date-picker/lib/styles/index.css";
import { Providers } from "./Providers";
// Toastify
import "react-toastify/dist/ReactToastify.css";
import CustomToastify from "./CustomToastify";
export const metadata = {
title: "نوبت724",
description:
@@ -22,6 +26,7 @@ export default function RootLayout({ children }) {
<ThemeRegistry>
<body className="bg-[#FAFAFA]">
<Providers>{children}</Providers>
<CustomToastify />
</body>
</ThemeRegistry>
</html>