Skip to content

Commit

Permalink
refactor: Remove unneeded deps from useMemo
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrowne committed Jan 21, 2022
1 parent 6a0afa2 commit 2471329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/utils/dimension-hierarchy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const hierarchy = (
{
dimensionIri:
"https://environment.ld.admin.ch/foen/red_lists_test_reimport2/artengruppe",
children: []
children: [],
},
],
},
Expand Down Expand Up @@ -290,7 +290,7 @@ export const useHierarchicalDimensionValuesQuery = ({
data: tree,
};
}
}, [fetching, datacubeResponse, dataSetIri, dimensionIri, client, locale]);
}, [fetching, datacubeResponse, dimensionIri]);

return result;
};

0 comments on commit 2471329

Please sign in to comment.