ui: increase toast duration

This commit is contained in:
Sosokker 2024-11-09 15:49:35 +07:00
parent 99f87360be
commit e4cf116f30

View File

@ -35,7 +35,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<div className="relative flex min-h-screen flex-col">
<div>
<Toaster position="top-center" reverseOrder={false} toastOptions={{ duration: 1000 }} />
<Toaster position="top-center" reverseOrder={false} toastOptions={{ duration: 2000 }} />
</div>
<NavigationBar />
<div className="flex-1 bg-background">{children}</div>