diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-22 14:02:15 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-22 14:02:15 -0700 |
commit | 2ec46ed25ccb6860dd4cf5e71be762186b411d32 (patch) | |
tree | c3024cf48e6cd3d411ba15b01685042b8d98ea23 /modern/src/common/components/ErrorHandler.js | |
parent | aff28127974870c02001e8d8d44e973d0ba4fd22 (diff) | |
download | trackermap-web-2ec46ed25ccb6860dd4cf5e71be762186b411d32.tar.gz trackermap-web-2ec46ed25ccb6860dd4cf5e71be762186b411d32.tar.bz2 trackermap-web-2ec46ed25ccb6860dd4cf5e71be762186b411d32.zip |
Better error snackbar
Diffstat (limited to 'modern/src/common/components/ErrorHandler.js')
-rw-r--r-- | modern/src/common/components/ErrorHandler.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/common/components/ErrorHandler.js b/modern/src/common/components/ErrorHandler.js index 534dd012..5a238956 100644 --- a/modern/src/common/components/ErrorHandler.js +++ b/modern/src/common/components/ErrorHandler.js @@ -14,6 +14,8 @@ const ErrorHandler = () => { return ( <Snackbar open={!!error}> <Alert + elevation={6} + variant="filled" onClose={() => dispatch(errorsActions.pop())} severity="error" > |