diff --git a/phone/src/ui/providers/SnackbarProvider.tsx b/phone/src/ui/providers/SnackbarProvider.tsx index c1fe553..5985edb 100644 --- a/phone/src/ui/providers/SnackbarProvider.tsx +++ b/phone/src/ui/providers/SnackbarProvider.tsx @@ -16,10 +16,8 @@ function SnackbarProvider({ children }) { return () => clearTimeout(timer.current); }, [alert]); - const addAlert = (value) => setAlert(value); - return ( - + {children} );