mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
refactor: add temporary ts-expect-error to setGlobalStore in setHiddenEnvironments
This commit is contained in:
parent
cdb42b3f7b
commit
7da9232516
@ -18,6 +18,7 @@ export const useHiddenEnvironments = () => {
|
||||
);
|
||||
|
||||
const setHiddenEnvironments = (environment: string) => {
|
||||
// @ts-expect-error
|
||||
setGlobalStore((params) => {
|
||||
const hiddenEnvironments = new Set(
|
||||
Array.isArray(globalStore.hiddenEnvironments)
|
||||
|
Loading…
Reference in New Issue
Block a user