add toastify component
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user