Skip to content

Commit

Permalink
fix: input errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cjhih456 committed Dec 31, 2024
1 parent 6811117 commit f23ad97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/ui/Form/hooks/useInputHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,12 @@ export default function useInputHelper<V>({
if (onChange) onChange(e)
}, [setValue, onChange])
return {
value,
defaultValue,
layoutProps: {
labelId: inputId,
isFocus,
hasValue
},
setValue,
onFocus: onFocusEvent,
onBlur: onBlurEvent,
onChange: onChangeEvent
Expand Down

0 comments on commit f23ad97

Please sign in to comment.