From 3b20a493db046b89ebf5e0782733ec13564a010d Mon Sep 17 00:00:00 2001 From: Luis Felipe Risch <lfr20@inf.ufpr.br> Date: Mon, 5 Oct 2020 15:44:01 -0300 Subject: [PATCH] Changed the duration of the snackbar, in order to the user have more time to read what is displayed --- src/Components/SnackbarComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/SnackbarComponent.js b/src/Components/SnackbarComponent.js index 74730d3c..6074b9e9 100644 --- a/src/Components/SnackbarComponent.js +++ b/src/Components/SnackbarComponent.js @@ -22,7 +22,7 @@ import Snackbar from '@material-ui/core/Snackbar'; export default function SnackbarComponent (props) { return ( - <Snackbar open={props.snackbarOpen} autoHideDuration={1000} onClose={props.handleClose} + <Snackbar open={props.snackbarOpen} autoHideDuration={3000} onClose={props.handleClose} anchorOrigin = {{ vertical:'top', horizontal:'right' }} > <Alert severity={props.severity} style={{backgroundColor:"#00acc1"}}> -- GitLab