From 7da92325161c8b0080345d9b873a0fe1360432cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Mon, 29 Jan 2024 10:26:00 +0000 Subject: [PATCH] refactor: add temporary ts-expect-error to setGlobalStore in setHiddenEnvironments --- frontend/src/hooks/useHiddenEnvironments.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/hooks/useHiddenEnvironments.ts b/frontend/src/hooks/useHiddenEnvironments.ts index 28dc1a32a6..b9929e75f1 100644 --- a/frontend/src/hooks/useHiddenEnvironments.ts +++ b/frontend/src/hooks/useHiddenEnvironments.ts @@ -18,6 +18,7 @@ export const useHiddenEnvironments = () => { ); const setHiddenEnvironments = (environment: string) => { + // @ts-expect-error setGlobalStore((params) => { const hiddenEnvironments = new Set( Array.isArray(globalStore.hiddenEnvironments)