style: Change to camel case

This commit is contained in:
영 2024-10-13 01:29:02 +09:00
parent 64cb7449bf
commit 29bb1aee79

View file

@ -220,7 +220,7 @@ function ModelSelect() {
(state: RootState) => state.state.config.models,
);
const ideMessenger = useContext(IdeMessengerContext);
const [showAbove, setshowAbove] = useState(false);
const [showAbove, setShowAbove] = useState(false);
const buttonRef = useRef<HTMLButtonElement>(null);
const [options, setOptions] = useState<Option[]>([]);
const [sortedOptions, setSortedOptions] = useState<Option[]>([]);
@ -281,7 +281,7 @@ function ModelSelect() {
const spaceAbove = rect.top;
const dropdownHeight = MAX_HEIGHT_PX;
setshowAbove(spaceBelow < dropdownHeight && spaceAbove > spaceBelow);
setShowAbove(spaceBelow < dropdownHeight && spaceAbove > spaceBelow);
}
function onClickAddModel(e) {