Skip to content

Commit

Permalink
Update EscrowForm.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfsayo committed Dec 4, 2024
1 parent a6e3659 commit c96ccee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const EscrowForm: React.FC<EscrowFormProps> = ({

const { formValues, setFormValues } = useEscrowFormStore()
const {
addresses: { multiSig, governor },
addresses: { multiSig, governor, treasury },
} = useDaoStore()

const handleSubmit = useCallback(
Expand Down Expand Up @@ -159,7 +159,7 @@ const EscrowForm: React.FC<EscrowFormProps> = ({
<Formik
initialValues={{
...formValues,
clientAddress: multiSig || governor || '',
clientAddress: multiSig || treasury || '',
}}
validationSchema={EscrowFormSchema}
onSubmit={handleSubmit}
Expand Down

0 comments on commit c96ccee

Please sign in to comment.