feat: enhance weather fetching experience with loading state and notifications

This commit is contained in:
2025-07-29 23:40:24 +02:00
parent bf8c270171
commit dcfbbb2f22
7 changed files with 47 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ export type ToastType = "success" | "error" | "info" | "warning";
export const myToast = (message: string, msgType: ToastType) => {
let config: ToastOptions = {
position: "top-right",
autoClose: 5000,
autoClose: 3000,
hideProgressBar: false,
closeOnClick: true,
pauseOnHover: true,