Skip to content

Commit

Permalink
fix: omit referredUserId from schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Aug 16, 2024
1 parent 8da0753 commit bfc6c3a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export const StartProfile: OnboardingChain = ({ chainData }) => {
}, [farcasterProfile])

const form = useForm<Schemas["ProfileCreation"]>({
resolver: zodResolver(schemas.ProfileCreationSchema),
resolver: zodResolver(
schemas.ProfileCreationSchema.omit({ referrerUserId: true })
),
defaultValues: {
name: "",
username: "",
Expand Down

0 comments on commit bfc6c3a

Please sign in to comment.