aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-22 14:02:15 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-22 14:02:15 -0700
commit2ec46ed25ccb6860dd4cf5e71be762186b411d32 (patch)
treec3024cf48e6cd3d411ba15b01685042b8d98ea23 /modern/src/common/components
parentaff28127974870c02001e8d8d44e973d0ba4fd22 (diff)
downloadtrackermap-web-2ec46ed25ccb6860dd4cf5e71be762186b411d32.tar.gz
trackermap-web-2ec46ed25ccb6860dd4cf5e71be762186b411d32.tar.bz2
trackermap-web-2ec46ed25ccb6860dd4cf5e71be762186b411d32.zip
Better error snackbar
Diffstat (limited to 'modern/src/common/components')
-rw-r--r--modern/src/common/components/ErrorHandler.js2
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"
>