feat: add toaster

This commit is contained in:
2025-06-06 15:08:46 +03:00
parent dd452a950d
commit 9b6e163da5
35 changed files with 720 additions and 611 deletions

View File

@@ -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>
);
}