From c68a6c0d9d5d3b347d77213a6374b05ff1551120 Mon Sep 17 00:00:00 2001 From: neopostmodern Date: Sat, 1 Apr 2023 12:10:39 +0200 Subject: [PATCH] fix(client): show errors in UI when deleting tag --- client/src/renderer/containers/TagPage.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/src/renderer/containers/TagPage.tsx b/client/src/renderer/containers/TagPage.tsx index b5a3eb1..ee415a0 100644 --- a/client/src/renderer/containers/TagPage.tsx +++ b/client/src/renderer/containers/TagPage.tsx @@ -6,6 +6,7 @@ import { useParams } from 'react-router'; import { goBack } from 'redux-first-history'; import DeleteTagTrigger from '../components/DeleteTagTrigger'; import EntityMetadata from '../components/EntityMetadata'; +import ErrorSnackbar from '../components/ErrorSnackbar'; import FatalApolloError from '../components/FatalApolloError'; import { Menu } from '../components/Menu'; import NetworkOperationsIndicator from '../components/NetworkOperationsIndicator'; @@ -198,6 +199,12 @@ const TagPage: FC = () => { } > + +