about summary refs log tree commit diff
path: root/src/screens/Onboarding/Layout.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-11-21 20:44:40 +0000
committerGitHub <noreply@github.com>2024-11-21 20:44:40 +0000
commitcc60566cde880deeea1e50774a2108af8f7766f8 (patch)
tree5b6c925bf4331907fe57a094e30d6a23615debf4 /src/screens/Onboarding/Layout.tsx
parentff23ddb556be4b2a9c4029dce6f857df34fc0b6b (diff)
downloadvoidsky-cc60566cde880deeea1e50774a2108af8f7766f8.tar.zst
Fix Fast Refresh in <Text> files (#6609)
* Separate non-components from components

* Mark old Text as deprecated

* Move emoji utilities to non-React file

* Fix type

* Fix import
Diffstat (limited to 'src/screens/Onboarding/Layout.tsx')
-rw-r--r--src/screens/Onboarding/Layout.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screens/Onboarding/Layout.tsx b/src/screens/Onboarding/Layout.tsx
index 02b207303..4a07ebd83 100644
--- a/src/screens/Onboarding/Layout.tsx
+++ b/src/screens/Onboarding/Layout.tsx
@@ -17,10 +17,11 @@ import {
   useTheme,
   web,
 } from '#/alf'
+import {leading} from '#/alf/typography'
 import {Button, ButtonIcon, ButtonText} from '#/components/Button'
 import {ChevronLeft_Stroke2_Corner0_Rounded as ChevronLeft} from '#/components/icons/Chevron'
 import {createPortalGroup} from '#/components/Portal'
-import {leading, P, Text} from '#/components/Typography'
+import {P, Text} from '#/components/Typography'
 import {IS_DEV} from '#/env'
 
 const COL_WIDTH = 420