diff --git a/frontend/src/component/project/Project/ProjectFeatureToggles/ProjectFeatureToggles.tsx b/frontend/src/component/project/Project/ProjectFeatureToggles/ProjectFeatureToggles.tsx index ae6676abd0..4a47964ea3 100644 --- a/frontend/src/component/project/Project/ProjectFeatureToggles/ProjectFeatureToggles.tsx +++ b/frontend/src/component/project/Project/ProjectFeatureToggles/ProjectFeatureToggles.tsx @@ -344,6 +344,10 @@ export const ProjectFeatureToggles = ({ [environments] // eslint-disable-line react-hooks/exhaustive-deps ); + const getRowId = useCallback((row: any) => { + return row.name; + }, []); + const { allColumns, headerGroups, @@ -359,6 +363,7 @@ export const ProjectFeatureToggles = ({ sortTypes, disableSortRemove: true, autoResetSortBy: false, + getRowId, }, useFlexLayout, useSortBy