From 2471329f63a56c9df2108894dbc948b710b9646c Mon Sep 17 00:00:00 2001 From: Patrick Browne Date: Fri, 21 Jan 2022 16:36:14 +0100 Subject: [PATCH] refactor: Remove unneeded deps from useMemo --- app/utils/dimension-hierarchy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/dimension-hierarchy.ts b/app/utils/dimension-hierarchy.ts index 7ed5221202..eae19b1554 100644 --- a/app/utils/dimension-hierarchy.ts +++ b/app/utils/dimension-hierarchy.ts @@ -245,7 +245,7 @@ const hierarchy = ( { dimensionIri: "https://environment.ld.admin.ch/foen/red_lists_test_reimport2/artengruppe", - children: [] + children: [], }, ], }, @@ -290,7 +290,7 @@ export const useHierarchicalDimensionValuesQuery = ({ data: tree, }; } - }, [fetching, datacubeResponse, dataSetIri, dimensionIri, client, locale]); + }, [fetching, datacubeResponse, dimensionIri]); return result; };