fix: revert to 5000 duration

This commit is contained in:
karishmas6
2024-10-11 18:22:11 +05:30
parent a0ae85320c
commit 6c667253b3

View File

@@ -31,7 +31,7 @@ export const AlertSnackbar = ({ severity, message, isOpen }: AlertSnackbarProps)
}; };
return ( return (
<Snackbar anchorOrigin={{ vertical: 'top', horizontal: 'center' }} open={open} autoHideDuration={3000} onClose={handleClose}> <Snackbar anchorOrigin={{ vertical: 'top', horizontal: 'center' }} open={open} autoHideDuration={5000} onClose={handleClose}>
<Alert onClose={handleClose} severity={severity} sx={{ width: '100%' }}> <Alert onClose={handleClose} severity={severity} sx={{ width: '100%' }}>
{message} {message}
</Alert> </Alert>