From 6a2b1ffaf4d574d18e52faff09aee0a595abf246 Mon Sep 17 00:00:00 2001 From: Ben Ye Date: Tue, 2 Nov 2021 18:17:37 -0700 Subject: [PATCH] Update pkg/ui/react-app/src/thanos/pages/blocks/BlockDetails.tsx Co-authored-by: Prem Kumar --- pkg/ui/react-app/src/thanos/pages/blocks/BlockDetails.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/ui/react-app/src/thanos/pages/blocks/BlockDetails.tsx b/pkg/ui/react-app/src/thanos/pages/blocks/BlockDetails.tsx index cab65eb2931..eb8fada416a 100644 --- a/pkg/ui/react-app/src/thanos/pages/blocks/BlockDetails.tsx +++ b/pkg/ui/react-app/src/thanos/pages/blocks/BlockDetails.tsx @@ -35,8 +35,7 @@ export const BlockDetails: FC = ({ block, selectBlock }) => { if (!response.ok) { throw new Error(response.statusText); } - setModalAction(''); - } catch (error) { + } finally { setModalAction(''); } };