refactor: rename parameter

This commit is contained in:
Baptiste Grob
2021-04-06 16:52:37 +02:00
parent ed69680295
commit a4e4381b0a

View File

@@ -65,7 +65,7 @@ function SearchOptions({ appState }: Props) {
const { height } = buttonRef.current.getBoundingClientRect(); const { height } = buttonRef.current.getBoundingClientRect();
const extraVerticalBreathingRoom = 4; const extraVerticalBreathingRoom = 4;
setOptionsPanelTop(height + extraVerticalBreathingRoom); setOptionsPanelTop(height + extraVerticalBreathingRoom);
setOpen((prevIsOpen) => !prevIsOpen); setOpen((prevOpen) => !prevOpen);
}} }}
> >
<DisclosureButton <DisclosureButton