feat: update modal
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user