diff --git a/src/Snackbar.js b/src/Snackbar.js index d30e218..f560f6d 100644 --- a/src/Snackbar.js +++ b/src/Snackbar.js @@ -61,6 +61,9 @@ export default function Snackbar({ children }) { setOpen(false) } + if(duration > 2147483647 ) + setDuration(2147483647) + // Returns the Provider that must wrap the application return (