mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
update delay
This commit is contained in:
1 parent
2a9f475cdc
commit
8bca955ad7
1 file changed
+1
-1
@@ -11,7 +11,7 @@ function SnackbarProvider({ children }) {
|
|||||||
clearTimeout(timer.current);
|
clearTimeout(timer.current);
|
||||||
timer.current = setTimeout(() => {
|
timer.current = setTimeout(() => {
|
||||||
setAlert(null);
|
setAlert(null);
|
||||||
}, 1000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
return () => clearTimeout(timer.current);
|
return () => clearTimeout(timer.current);
|
||||||
}, [alert]);
|
}, [alert]);
|
||||||
|
|||||||
Reference in new issue
Block a user