run codemod on every file
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import {memo, useCallback} from 'react'
|
||||
import {View} from 'react-native'
|
||||
import {msg} from '@lingui/core/macro'
|
||||
import {useLingui} from '@lingui/react'
|
||||
import {useLingui} from '@lingui/react/macro'
|
||||
import {Trans} from '@lingui/react/macro'
|
||||
|
||||
import {useLoggedOutViewControls} from '#/state/shell/logged-out'
|
||||
@@ -14,7 +13,7 @@ import {Link} from '#/components/Link'
|
||||
import {Text} from '#/components/Typography'
|
||||
|
||||
let NavSignupCard = ({}: {}): React.ReactNode => {
|
||||
const {_} = useLingui()
|
||||
const {t: l} = useLingui()
|
||||
const {requestSwitchToAccount} = useLoggedOutViewControls()
|
||||
const closeAllActiveElements = useCloseAllActiveElements()
|
||||
|
||||
@@ -34,18 +33,16 @@ let NavSignupCard = ({}: {}): React.ReactNode => {
|
||||
<Link to="/" label="Bluesky - Home">
|
||||
<Logo allowVariants={false} width={32} />
|
||||
</Link>
|
||||
|
||||
<View style={[a.pt_lg]}>
|
||||
<Text
|
||||
style={[a.text_3xl, a.font_bold, {lineHeight: a.text_3xl.fontSize}]}>
|
||||
<Trans>Join the conversation</Trans>
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
<View style={[a.flex_row, a.flex_wrap, a.gap_sm, a.pt_md]}>
|
||||
<Button
|
||||
onPress={showCreateAccount}
|
||||
label={_(msg`Create account`)}
|
||||
label={l`Create account`}
|
||||
size="small"
|
||||
variant="solid"
|
||||
color="primary">
|
||||
@@ -55,7 +52,7 @@ let NavSignupCard = ({}: {}): React.ReactNode => {
|
||||
</Button>
|
||||
<Button
|
||||
onPress={showSignIn}
|
||||
label={_(msg`Sign in`)}
|
||||
label={l`Sign in`}
|
||||
size="small"
|
||||
variant="solid"
|
||||
color="secondary">
|
||||
@@ -64,7 +61,6 @@ let NavSignupCard = ({}: {}): React.ReactNode => {
|
||||
</ButtonText>
|
||||
</Button>
|
||||
</View>
|
||||
|
||||
<View style={[a.mt_md, a.w_full, {height: 32}]}>
|
||||
<AppLanguageDropdown />
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user