chore(FE-40): add Toaster component in root layout

This commit is contained in:
ValdiANS
2025-10-04 12:14:18 +07:00
parent df1b4c29e5
commit fa5d09e4fb
+3
View File
@@ -2,6 +2,7 @@ import type { Metadata, Viewport } from 'next';
import { Inter } from 'next/font/google';
import '@/app/globals.css';
import { Toaster } from 'react-hot-toast';
import MainDrawer from '@/components/MainDrawer';
import RequireAuth from '@/components/helper/RequireAuth';
@@ -32,6 +33,8 @@ export default function RootLayout({
<RequireAuth>
<MainDrawer>{children}</MainDrawer>
</RequireAuth>
<Toaster />
</body>
</html>
);