diff --git a/app/assets/javascripts/components/NotesOptionsPanel.tsx b/app/assets/javascripts/components/NotesOptionsPanel.tsx index 886eda79f..d1e3b4d84 100644 --- a/app/assets/javascripts/components/NotesOptionsPanel.tsx +++ b/app/assets/javascripts/components/NotesOptionsPanel.tsx @@ -56,31 +56,27 @@ export const NotesOptionsPanel = observer(({ appState }: Props) => { Actions - -
- { - if (event.key === 'Escape' && !submenuOpen) { - setOpen(false); - buttonRef.current.focus(); - } - }} - ref={panelRef} - style={{ - ...position, - }} - className="sn-dropdown flex flex-col py-2" - > - {open && ( - - )} - -
-
+ { + if (event.key === 'Escape' && !submenuOpen) { + setOpen(false); + buttonRef.current.focus(); + } + }} + ref={panelRef} + style={{ + ...position, + }} + className="sn-dropdown flex flex-col py-2" + > + {open && ( + + )} + ); });