Skip to content

Commit

Permalink
one-time-donation/Steps.tsx: Fix isAnonymous initial value
Browse files Browse the repository at this point in the history
  • Loading branch information
sashko9807 committed Apr 13, 2023
1 parent 6cb7d32 commit c0a6dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/client/one-time-donation/Steps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function DonationStepper({ onStepChange }: DonationStepperProps)
return session && session.accessToken ? true : false
}

initialValues.isAnonymous = !isLogged()
initialValues.isAnonymous = isLogged()
initialValues.isRecurring = false

const userEmail = session?.user?.email
Expand Down

0 comments on commit c0a6dc5

Please sign in to comment.