Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
nialexsan committed Dec 17, 2024
1 parent a550df2 commit 42a0b6f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions components/FundAccountForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,20 @@ export default function FundAccountForm({address}: {address: string}) {
setSubmitting(false)
}}
>
{({values, isSubmitting}) => (
{({
values,
isSubmitting,
}: {
values: {token: TokenTypes; address: string}
isSubmitting: boolean
}) => (
<Form data-test="fund-account-form">
<Box mt={4} mb={3}>
<Themed.h1>Fund Account</Themed.h1>
</Box>
<TokenFundingInfo
description="when you fund your account"
token={values.token as TokenTypes}
token={values.token}
/>
{isSubmitting || typeof result !== "undefined" ? (
<FundAccountSubmitted result={result} />
Expand Down

0 comments on commit 42a0b6f

Please sign in to comment.