A couple small fixes
parent
617d93fb48
commit
b4e5179c9c
|
@ -42,7 +42,6 @@ export const CreateAccount = observer(
|
||||||
|
|
||||||
const onPressBackInner = React.useCallback(() => {
|
const onPressBackInner = React.useCallback(() => {
|
||||||
if (model.canBack) {
|
if (model.canBack) {
|
||||||
console.log('?')
|
|
||||||
model.back()
|
model.back()
|
||||||
} else {
|
} else {
|
||||||
onPressBack()
|
onPressBack()
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {StyleSheet, TouchableOpacity, View} from 'react-native'
|
import {
|
||||||
|
StyleSheet,
|
||||||
|
TouchableOpacity,
|
||||||
|
TouchableWithoutFeedback,
|
||||||
|
View,
|
||||||
|
} from 'react-native'
|
||||||
import {observer} from 'mobx-react-lite'
|
import {observer} from 'mobx-react-lite'
|
||||||
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
|
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
|
||||||
import {CreateAccountModel} from 'state/models/ui/create-account'
|
import {CreateAccountModel} from 'state/models/ui/create-account'
|
||||||
import {Text} from 'view/com/util/text/Text'
|
import {Text} from 'view/com/util/text/Text'
|
||||||
import {TextLink} from 'view/com/util/Link'
|
|
||||||
import {StepHeader} from './StepHeader'
|
import {StepHeader} from './StepHeader'
|
||||||
import {s} from 'lib/styles'
|
import {s} from 'lib/styles'
|
||||||
import {usePalette} from 'lib/hooks/usePalette'
|
import {usePalette} from 'lib/hooks/usePalette'
|
||||||
|
@ -41,14 +45,12 @@ export const Step2 = observer(({model}: {model: CreateAccountModel}) => {
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{!model.inviteCode && model.isInviteCodeRequired ? (
|
{!model.inviteCode && model.isInviteCodeRequired ? (
|
||||||
<Text>
|
<Text style={s.alignBaseline}>
|
||||||
Don't have an invite code?{' '}
|
Don't have an invite code?{' '}
|
||||||
<TouchableOpacity onPress={onPressWaitlist}>
|
<TouchableWithoutFeedback onPress={onPressWaitlist}>
|
||||||
<Text type="xl" style={pal.link}>
|
<Text style={pal.link}>Join the waitlist</Text>
|
||||||
Join the waitlist
|
</TouchableWithoutFeedback>{' '}
|
||||||
</Text>
|
to try the beta before it's publicly available.
|
||||||
</TouchableOpacity>{' '}
|
|
||||||
the beta before it's publicly available.
|
|
||||||
</Text>
|
</Text>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Reference in New Issue