🚨fix: QSelectBox useEffect 조건 추가

This commit is contained in:
yoosangwook 2024-12-26 16:04:03 +09:00
parent 4ce2ff4a45
commit 20f75daedd

View File

@ -65,7 +65,7 @@ export default function QSelectBox({
useEffect(() => {
// value && handleClickSelectOption(value)
setSelected(handleInitState())
}, [value])
}, [value, sourceKey, targetKey, showKey])
useOnClickOutside(ref, handleClose)