FIX: Make biome happy
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
15da2e5785
commit
248ef66e7c
@@ -18,10 +18,13 @@ const FormatMenu = (properties: FormatMenuProps) => {
|
||||
const [isPickerOpen, setPickerOpen] = useState(false);
|
||||
const anchorElement = useRef<HTMLDivElement>(null);
|
||||
|
||||
const onSelect = useCallback((s: string) => {
|
||||
const onSelect = useCallback(
|
||||
(s: string) => {
|
||||
properties.onChange(s);
|
||||
setMenuOpen(false);
|
||||
}, [properties.onChange]);
|
||||
},
|
||||
[properties.onChange],
|
||||
);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user