diff options
Diffstat (limited to 'src/screens/Signup')
-rw-r--r-- | src/screens/Signup/index.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/screens/Signup/index.tsx b/src/screens/Signup/index.tsx index 5f406eb7a..e82d0da1c 100644 --- a/src/screens/Signup/index.tsx +++ b/src/screens/Signup/index.tsx @@ -26,6 +26,7 @@ import {Divider} from '#/components/Divider' import {LinearGradientBackground} from '#/components/LinearGradientBackground' import {InlineLinkText} from '#/components/Link' import {Text} from '#/components/Typography' +import * as bsky from '#/types/bsky' export function Signup({onPressBack}: {onPressBack: () => void}) { const {_} = useLingui() @@ -95,7 +96,10 @@ export function Signup({onPressBack}: {onPressBack: () => void}) { scrollable> <View testID="createAccount" style={a.flex_1}> {showStarterPackCard && - AppBskyGraphStarterpack.isRecord(starterPack.record) ? ( + bsky.dangerousIsType<AppBskyGraphStarterpack.Record>( + starterPack.record, + AppBskyGraphStarterpack.isRecord, + ) ? ( <Animated.View entering={!isFetchedAtMount ? FadeIn : undefined}> <LinearGradientBackground style={[a.mx_lg, a.p_lg, a.gap_sm, a.rounded_sm]}> |