diff --git a/phone/src/ui/providers/SnackbarProvider.tsx b/phone/src/ui/providers/SnackbarProvider.tsx index c1fe553..4a721c5 100644 --- a/phone/src/ui/providers/SnackbarProvider.tsx +++ b/phone/src/ui/providers/SnackbarProvider.tsx @@ -11,15 +11,13 @@ function SnackbarProvider({ children }) { clearTimeout(timer.current); timer.current = setTimeout(() => { setAlert(null); - }, 1000); + }, 2000); } return () => clearTimeout(timer.current); }, [alert]); - const addAlert = (value) => setAlert(value); - return ( - + {children} );