feat: update modal

This commit is contained in:
2025-06-17 11:56:31 +03:00
parent 39d4c3c362
commit 553e6da6db
25 changed files with 421 additions and 219 deletions

View File

@@ -3,6 +3,7 @@ import { Open_Sans } from 'next/font/google';
import '@core/styles/reset.scss';
import '@core/styles/globals.scss';
import { Toaster } from 'react-hot-toast';
import { ModalProvider } from '@core/providers/modal-provider';
const openSans = Open_Sans({
subsets: ['cyrillic'],
@@ -34,7 +35,7 @@ export default function RootLayout({
return (
<html lang='en'>
<body className={`${openSans.variable}`}>
{children}
<ModalProvider>{children}</ModalProvider>
<Toaster />
</body>
</html>