refactor: rename parameter
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user