FIX: Make biome happy

This commit is contained in:
Nicolás Hatcher
2024-10-11 20:27:17 +02:00
committed by Nicolás Hatcher Andrés
parent 15da2e5785
commit 248ef66e7c

View File

@@ -18,10 +18,13 @@ const FormatMenu = (properties: FormatMenuProps) => {
const [isPickerOpen, setPickerOpen] = useState(false);
const anchorElement = useRef<HTMLDivElement>(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 (
<>