mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
react exhaustive check fix (#2513)
This commit is contained in:
parent
35d9a62d89
commit
4e28aef55e
@ -161,7 +161,11 @@ export const ProjectFeatureToggles = ({
|
|||||||
});
|
});
|
||||||
refetch();
|
refetch();
|
||||||
},
|
},
|
||||||
[toggleFeatureEnvironmentOff, toggleFeatureEnvironmentOn] // eslint-disable-line react-hooks/exhaustive-deps
|
[
|
||||||
|
toggleFeatureEnvironmentOff,
|
||||||
|
toggleFeatureEnvironmentOn,
|
||||||
|
isChangeRequestConfigured,
|
||||||
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
const columns = useMemo(
|
const columns = useMemo(
|
||||||
@ -257,7 +261,7 @@ export const ProjectFeatureToggles = ({
|
|||||||
disableSortBy: true,
|
disableSortBy: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[projectId, environments, onToggle, loading]
|
[projectId, environments, loading]
|
||||||
);
|
);
|
||||||
|
|
||||||
const [searchValue, setSearchValue] = useState(
|
const [searchValue, setSearchValue] = useState(
|
||||||
|
Loading…
Reference in New Issue
Block a user