This commit is contained in:
Hristo Nedelkov 2024-01-29 18:47:35 +02:00
parent 078a68552b
commit d35190cfad
3 changed files with 3 additions and 5 deletions

View File

@ -160,7 +160,7 @@ const ContinueButton = () => {
/>
)}
<Button onPress={continueHandler} size={40} disabled={isDisabled}>
{activeStep <9? 'Continue' : 'Continue to Dashboard'}
{activeStep < 9 ? 'Continue' : 'Continue to Dashboard'}
</Button>
</XStack>
)

View File

@ -12,9 +12,7 @@ import styles from './layoutGradient.module.css'
import { Outlet } from 'react-router-dom'
const ValidatorOnboarding = () => {
const { activeStep } = useSelector(
(state: RootState) => state.validatorOnboarding,
)
const { activeStep } = useSelector((state: RootState) => state.validatorOnboarding)
const windowSize = useWindowSize()
return (

View File

@ -54,7 +54,7 @@ const ActivationValidatorSetup = () => {
<XStack space={'$3'} flexWrap={windowSize.width < 780 ? 'wrap' : 'nowrap'} width="100%">
<ActivationCard text="Validator Queue" value="92603" />
<ActivationCard text="Estimated Activation Time" value="32 Days" />
<ActivationCard text="Current APR" value="4.40%" isLast={true}/>
<ActivationCard text="Current APR" value="4.40%" isLast={true} />
</XStack>
</YStack>
</YStack>