diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-03-14 13:34:05 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-03-14 13:34:05 -0500 |
commit | b4e5179c9cbe9decc7df073efb1b7f5ff0144931 (patch) | |
tree | eda9f13461be8327a13c73f29e765170842ca57a /src | |
parent | 617d93fb486ad79b6a0e87ba54b7f94f623684c1 (diff) | |
download | voidsky-b4e5179c9cbe9decc7df073efb1b7f5ff0144931.tar.zst |
A couple small fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/auth/create/CreateAccount.tsx | 1 | ||||
-rw-r--r-- | src/view/com/auth/create/Step2.tsx | 20 |
2 files changed, 11 insertions, 10 deletions
diff --git a/src/view/com/auth/create/CreateAccount.tsx b/src/view/com/auth/create/CreateAccount.tsx index 39fecb5e5..618c15cf5 100644 --- a/src/view/com/auth/create/CreateAccount.tsx +++ b/src/view/com/auth/create/CreateAccount.tsx @@ -42,7 +42,6 @@ export const CreateAccount = observer( const onPressBackInner = React.useCallback(() => { if (model.canBack) { - console.log('?') model.back() } else { onPressBack() diff --git a/src/view/com/auth/create/Step2.tsx b/src/view/com/auth/create/Step2.tsx index f4f399abd..f115bf6ac 100644 --- a/src/view/com/auth/create/Step2.tsx +++ b/src/view/com/auth/create/Step2.tsx @@ -1,10 +1,14 @@ 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 {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {CreateAccountModel} from 'state/models/ui/create-account' import {Text} from 'view/com/util/text/Text' -import {TextLink} from 'view/com/util/Link' import {StepHeader} from './StepHeader' import {s} from 'lib/styles' import {usePalette} from 'lib/hooks/usePalette' @@ -41,14 +45,12 @@ export const Step2 = observer(({model}: {model: CreateAccountModel}) => { )} {!model.inviteCode && model.isInviteCodeRequired ? ( - <Text> + <Text style={s.alignBaseline}> Don't have an invite code?{' '} - <TouchableOpacity onPress={onPressWaitlist}> - <Text type="xl" style={pal.link}> - Join the waitlist - </Text> - </TouchableOpacity>{' '} - the beta before it's publicly available. + <TouchableWithoutFeedback onPress={onPressWaitlist}> + <Text style={pal.link}>Join the waitlist</Text> + </TouchableWithoutFeedback>{' '} + to try the beta before it's publicly available. </Text> ) : ( <> |