From bd9807e06e9e9427349b53fad282e4d8df9ee8f5 Mon Sep 17 00:00:00 2001 From: ValueOn AG Date: Thu, 12 Feb 2026 13:52:54 +0100 Subject: [PATCH] fixes mandate vars --- src/pages/admin/InstanceHierarchyView.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pages/admin/InstanceHierarchyView.tsx b/src/pages/admin/InstanceHierarchyView.tsx index ff1974e..0bb9842 100644 --- a/src/pages/admin/InstanceHierarchyView.tsx +++ b/src/pages/admin/InstanceHierarchyView.tsx @@ -46,7 +46,7 @@ interface MandateContentProps { function MandateContent({ mandateId, - mandateName, + mandateName: _mandateName, instances, instanceUsersMap, features, @@ -64,11 +64,6 @@ function MandateContent({ return map; }, [instances]); - const mandateMeta = useMemo(() => { - const featureCount = Object.keys(byFeature).length; - const instanceCount = instances.length; - return { featureCount, instanceCount }; - }, [byFeature, instances.length]); const toggleInstance = (instanceId: string) => { setExpandedInstanceIds((prev) => {