From 7c3b88c796948f4f313439a25f7634631ce98de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Oberm=C3=BCller?= Date: Wed, 8 Nov 2023 14:37:05 +0000 Subject: [PATCH] Update frontend/src/lib/components/CommandBar/CommandBar.tsx Co-authored-by: David Newell --- frontend/src/lib/components/CommandBar/CommandBar.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/lib/components/CommandBar/CommandBar.tsx b/frontend/src/lib/components/CommandBar/CommandBar.tsx index c39d358d36f01..38c7a0d2e3145 100644 --- a/frontend/src/lib/components/CommandBar/CommandBar.tsx +++ b/frontend/src/lib/components/CommandBar/CommandBar.tsx @@ -42,9 +42,7 @@ function CommandBar(): JSX.Element | null { useOutsideClickHandler( containerRef, - () => { - hideCommandBar() - }, + hideCommandBar, [] )