Fix TypeScript typecheck errors
This commit is contained in:
@@ -5,6 +5,7 @@ import { SizableText as Text } from '@tamagui/text';
|
||||
import { Pressable } from '@tamagui/react-native-web-lite';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useAdminTheme } from '../theme';
|
||||
import { useDocumentTitle } from '../hooks/useDocumentTitle';
|
||||
|
||||
type OnboardingShellProps = {
|
||||
eyebrow?: string;
|
||||
@@ -34,6 +35,8 @@ export function OnboardingShell({
|
||||
const resolvedBackLabel = backLabel ?? t('layout.back', 'Back');
|
||||
const resolvedSkipLabel = skipLabel ?? t('layout.skip', 'Skip');
|
||||
|
||||
useDocumentTitle(title);
|
||||
|
||||
return (
|
||||
<YStack minHeight="100vh" backgroundColor={background} alignItems="center">
|
||||
<YStack
|
||||
|
||||
Reference in New Issue
Block a user