From ea8945ef95d28f965597a1944e535f6663fce6ed Mon Sep 17 00:00:00 2001 From: Denise Li Date: Tue, 3 Sep 2024 16:36:00 -0400 Subject: [PATCH] fix: use div instead of DisclosureButton for decls in the module tree cleanup --- frontend/console/src/features/modules/ModulesTree.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/console/src/features/modules/ModulesTree.tsx b/frontend/console/src/features/modules/ModulesTree.tsx index e2a9c048e0..99cecd8f98 100644 --- a/frontend/console/src/features/modules/ModulesTree.tsx +++ b/frontend/console/src/features/modules/ModulesTree.tsx @@ -50,10 +50,10 @@ const DeclNode = ({ decl, href, isSelected }: { decl: Decl; href: string; isSele const Icon = useMemo(() => icons[decl.value.case || ''] || CodeBracketSquareIcon, [decl.value.case]) return (
  • - { e.preventDefault() @@ -63,7 +63,7 @@ const DeclNode = ({ decl, href, isSelected }: { decl: Decl; href: string; isSele +
  • ) }