fix: increase autoClose duration for Toast notifications to improve user experience

refactor: enhance error handling in fetchWeather function with detailed console messages
This commit is contained in:
2025-07-30 11:23:42 +02:00
parent 6a7a66420a
commit e505d9b0e8
4 changed files with 6 additions and 6 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: 3000,
autoClose: 5000,
hideProgressBar: false,
closeOnClick: true,
pauseOnHover: true,