diff --git a/webapp/src/components/formatMenu.tsx b/webapp/src/components/formatMenu.tsx index 70987cc..314b675 100644 --- a/webapp/src/components/formatMenu.tsx +++ b/webapp/src/components/formatMenu.tsx @@ -18,10 +18,13 @@ const FormatMenu = (properties: FormatMenuProps) => { const [isPickerOpen, setPickerOpen] = useState(false); const anchorElement = useRef(null); - const onSelect = useCallback((s: string) => { - properties.onChange(s); - setMenuOpen(false); - }, [properties.onChange]); + const onSelect = useCallback( + (s: string) => { + properties.onChange(s); + setMenuOpen(false); + }, + [properties.onChange], + ); return ( <>