feat: enhance weather fetching experience with loading state and notifications
This commit is contained in:
@@ -13,8 +13,14 @@ const Layout: React.FC<LayoutProps> = ({ children }) => {
|
||||
<ToastContainer
|
||||
position="top-right"
|
||||
autoClose={3000}
|
||||
hideProgressBar
|
||||
theme="colored"
|
||||
hideProgressBar={false}
|
||||
newestOnTop
|
||||
closeOnClick
|
||||
rtl={false}
|
||||
pauseOnFocusLoss={false}
|
||||
draggable
|
||||
pauseOnHover
|
||||
theme="dark"
|
||||
/>
|
||||
<main className="flex-1 container mx-auto px-4 py-8">{children}</main>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user