Skip to content

Commit

Permalink
refactor(layout): limit toasts
Browse files Browse the repository at this point in the history
  • Loading branch information
steveiliop56 committed Mar 31, 2024
1 parent 8d5f23c commit f495687
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ export default function RootLayout({
<body className={inter.className}>
<Theme appearance="dark">
{children}
<ToastContainer position="top-center" hideProgressBar={true} />
<ToastContainer
position="top-center"
hideProgressBar={true}
limit={1}
autoClose={350}
/>
</Theme>
</body>
</html>
Expand Down

0 comments on commit f495687

Please sign in to comment.