Skip to content

Commit

Permalink
refactor : onChange 모드
Browse files Browse the repository at this point in the history
  • Loading branch information
guesung committed Aug 13, 2023
1 parent b9d8bf1 commit 109cd82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/join/components/JoinContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const defaultValues = {
export default function JoinContextProvider({ children }: StrictPropsWithChildren) {
const methods = useForm<SignUpState>({
defaultValues,
mode: 'onChange',
});

return <FormProvider {...methods}>{children}</FormProvider>;
Expand Down

0 comments on commit 109cd82

Please sign in to comment.