diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-30 02:50:24 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-30 02:50:24 +0800 |
commit | 5207dfdc0e1abf97381e7c710ea8713bef23f830 (patch) | |
tree | 60ff239fcbd8fb3df90a4956488947089575cf5a /packages/website/ts/components/onboarding/set_allowances_onboarding_step.tsx | |
parent | fc40efb761514b9e22e77f61d161d267b5f4c3c0 (diff) | |
download | dexon-0x-contracts-5207dfdc0e1abf97381e7c710ea8713bef23f830.tar dexon-0x-contracts-5207dfdc0e1abf97381e7c710ea8713bef23f830.tar.gz dexon-0x-contracts-5207dfdc0e1abf97381e7c710ea8713bef23f830.tar.bz2 dexon-0x-contracts-5207dfdc0e1abf97381e7c710ea8713bef23f830.tar.lz dexon-0x-contracts-5207dfdc0e1abf97381e7c710ea8713bef23f830.tar.xz dexon-0x-contracts-5207dfdc0e1abf97381e7c710ea8713bef23f830.tar.zst dexon-0x-contracts-5207dfdc0e1abf97381e7c710ea8713bef23f830.zip |
Rename userHasAllowances bool to follow proper convention
Diffstat (limited to 'packages/website/ts/components/onboarding/set_allowances_onboarding_step.tsx')
-rw-r--r-- | packages/website/ts/components/onboarding/set_allowances_onboarding_step.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/components/onboarding/set_allowances_onboarding_step.tsx b/packages/website/ts/components/onboarding/set_allowances_onboarding_step.tsx index c86cf3bba..5ddfe38d7 100644 --- a/packages/website/ts/components/onboarding/set_allowances_onboarding_step.tsx +++ b/packages/website/ts/components/onboarding/set_allowances_onboarding_step.tsx @@ -5,13 +5,13 @@ import { Text } from 'ts/components/ui/text'; export interface SetAllowancesOnboardingStepProps { zrxAllowanceToggle: React.ReactNode; ethAllowanceToggle: React.ReactNode; - userHasAllowancesForWethAndZrx: boolean; + doesUserHaveAllowancesForWethAndZrx: boolean; } export const SetAllowancesOnboardingStep: React.StatelessComponent<SetAllowancesOnboardingStepProps> = ({ ethAllowanceToggle, zrxAllowanceToggle, - userHasAllowancesForWethAndZrx, + doesUserHaveAllowancesForWethAndZrx, }) => ( <div className="flex items-center flex-column"> <Text>Unlock your tokens for trading. You only need to do this once for each token.</Text> @@ -25,6 +25,6 @@ export const SetAllowancesOnboardingStep: React.StatelessComponent<SetAllowances <Container marginTop="10px">{zrxAllowanceToggle}</Container> </div> </Container> - {userHasAllowancesForWethAndZrx && <Text>Perfect! Both your ZRX and WETH tokens are unlocked.</Text>} + {doesUserHaveAllowancesForWethAndZrx && <Text>Perfect! Both your ZRX and WETH tokens are unlocked.</Text>} </div> ); |