refactor: type improvement of component AddVariablePopupWithPosition (#17497)

This commit is contained in:
yusheng chen 2025-04-07 10:12:20 +08:00 committed by GitHub
parent e3dc9f3c31
commit 6d59b8d85b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ const AddVariablePopupWithPosition = ({
nodeId,
nodeData,
}: AddVariablePopupWithPositionProps) => {
const ref = useRef(null)
const ref = useRef<HTMLDivElement>(null)
const showAssignVariablePopup = useStore(s => s.showAssignVariablePopup)
const setShowAssignVariablePopup = useStore(s => s.setShowAssignVariablePopup)
const { handleNodeDataUpdate } = useNodeDataUpdate()