From e278956bb5ae833f19d50c5bd60e4b695b892667 Mon Sep 17 00:00:00 2001 From: WilliamThorenfeldt Date: Mon, 11 Dec 2023 13:12:29 +0100 Subject: [PATCH] fixing comment --- .../PageAccordion/NavigationMenu/InputPopover/InputPopover.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/NavigationMenu/InputPopover/InputPopover.tsx b/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/NavigationMenu/InputPopover/InputPopover.tsx index 0b6d6c8dd74..bb4bc97af29 100644 --- a/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/NavigationMenu/InputPopover/InputPopover.tsx +++ b/frontend/packages/ux-editor/src/containers/DesignView/PageAccordion/NavigationMenu/InputPopover/InputPopover.tsx @@ -61,7 +61,7 @@ export const InputPopover = ({ const handleKeyPress = (event: KeyboardEvent) => { if (event.key === 'Enter' && !errorMessage && oldName !== newName) { saveNewName(newName); - onClose(); + handleClose(); } };