Skip to content

Commit

Permalink
Merge pull request #77 from onflow/cf/remove-token-switcher
Browse files Browse the repository at this point in the history
Remove token switcher
  • Loading branch information
chasefleming committed Feb 23, 2024
2 parents 89ab091 + d589a02 commit 84519ad
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions components/FundAccountFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {Field, useFormikContext} from "formik"
import {FLOW_TYPE, paths} from "lib/constants"
import {NETWORK_DISPLAY_NAME} from "lib/network"
import {Box, Link, Themed} from "theme-ui"
import {CustomInputComponent, CustomSelectComponent} from "./inputs"
import {CustomInputComponent} from "./inputs"

export const TOKEN_OPTIONS = [
{value: FLOW_TYPE, label: `${NETWORK_DISPLAY_NAME} FLOW`},
Expand Down Expand Up @@ -42,18 +42,18 @@ export default function FundAccountFields({
max={128}
sx={{fontFamily: "monospace"}}
/>
{/*<Box mb={3} mt={4}>*/}
{/* <Themed.h3 sx={{mb: 0}}>Token</Themed.h3>*/}
{/*</Box>*/}
{/*<Box mb={4}>*/}
{/* <Field*/}
{/* component={CustomSelectComponent}*/}
{/* name="token"*/}
{/* inputLabel="Token"*/}
{/* options={TOKEN_OPTIONS}*/}
{/* />*/}
{/*</Box>*/}
<Box mb={3} mt={4}>
<Themed.h3 sx={{mb: 0}}>Token</Themed.h3>
</Box>
<Box mb={4}>
<Field
component={CustomSelectComponent}
name="token"
inputLabel="Token"
options={TOKEN_OPTIONS}
/>
</Box>
<Box mb={3}>
<Captcha onVerify={setCaptchaToken} />
</Box>
<Box mb={3}>
Expand Down

0 comments on commit 84519ad

Please sign in to comment.