From 6fff975ced25ba699aadff94e29838e8059cdc29 Mon Sep 17 00:00:00 2001 From: yylyyl Date: Wed, 18 Oct 2023 14:23:55 -0400 Subject: [PATCH] fix error notification --- .../notifications/WebsocketConnectError.js | 2 +- src/routes/Containers/List/ContainersList.js | 57 +++++++------------ src/routes/Containers/List/ContainersTable.js | 28 +++++---- src/routes/Containers/List/store.js | 41 +++++++++++++ src/routes/Images/List/ImageList.js | 43 +++++++------- src/routes/Images/List/ImagesTable.js | 28 +++++---- src/routes/Images/List/store.js | 41 +++++++++++++ src/routes/Overview/Overview.js | 16 +++--- 8 files changed, 168 insertions(+), 88 deletions(-) create mode 100644 src/routes/Containers/List/store.js create mode 100644 src/routes/Images/List/store.js diff --git a/src/components/notifications/WebsocketConnectError.js b/src/components/notifications/WebsocketConnectError.js index aa386ea..c63b61c 100644 --- a/src/components/notifications/WebsocketConnectError.js +++ b/src/components/notifications/WebsocketConnectError.js @@ -1,7 +1,7 @@ import {Button} from "@mui/material"; import {enqueueSnackbar} from "notistack"; -export default function WebsocketConnectError() { +export default function showWebsocketConnectError() { const action = (