feat: add toaster
This commit is contained in:
@@ -2,6 +2,7 @@ import type { Metadata } from 'next';
|
||||
import { Open_Sans } from 'next/font/google';
|
||||
import '@core/styles/reset.scss';
|
||||
import '@core/styles/globals.scss';
|
||||
import { Toaster } from 'react-hot-toast';
|
||||
|
||||
const openSans = Open_Sans({
|
||||
subsets: ['cyrillic'],
|
||||
@@ -32,7 +33,10 @@ export default function RootLayout({
|
||||
}: Readonly<{ children: React.ReactNode }>) {
|
||||
return (
|
||||
<html lang='en'>
|
||||
<body className={`${openSans.variable}`}>{children}</body>
|
||||
<body className={`${openSans.variable}`}>
|
||||
{children}
|
||||
<Toaster />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user