diff options
Diffstat (limited to 'src/components/StarterPack')
-rw-r--r-- | src/components/StarterPack/Main/PostsList.tsx | 6 | ||||
-rw-r--r-- | src/components/StarterPack/Main/ProfilesList.tsx | 17 | ||||
-rw-r--r-- | src/components/StarterPack/QrCode.tsx | 2 | ||||
-rw-r--r-- | src/components/StarterPack/Wizard/ScreenTransition.tsx | 4 |
4 files changed, 16 insertions, 13 deletions
diff --git a/src/components/StarterPack/Main/PostsList.tsx b/src/components/StarterPack/Main/PostsList.tsx index f706e0bff..0a17e038e 100644 --- a/src/components/StarterPack/Main/PostsList.tsx +++ b/src/components/StarterPack/Main/PostsList.tsx @@ -4,11 +4,11 @@ import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' import {isNative} from '#/platform/detection' -import {FeedDescriptor} from '#/state/queries/post-feed' +import {type FeedDescriptor} from '#/state/queries/post-feed' import {PostFeed} from '#/view/com/posts/PostFeed' import {EmptyState} from '#/view/com/util/EmptyState' -import {ListRef} from '#/view/com/util/List' -import {SectionRef} from '#/screens/Profile/Sections/types' +import {type ListRef} from '#/view/com/util/List' +import {type SectionRef} from '#/screens/Profile/Sections/types' interface ProfilesListProps { listUri: string diff --git a/src/components/StarterPack/Main/ProfilesList.tsx b/src/components/StarterPack/Main/ProfilesList.tsx index c1c10c76b..a1ddee5af 100644 --- a/src/components/StarterPack/Main/ProfilesList.tsx +++ b/src/components/StarterPack/Main/ProfilesList.tsx @@ -1,12 +1,15 @@ import React, {useCallback} from 'react' -import {ListRenderItemInfo, View} from 'react-native' +import {type ListRenderItemInfo, View} from 'react-native' import { - AppBskyActorDefs, - AppBskyGraphGetList, + type AppBskyActorDefs, + type AppBskyGraphGetList, AtUri, - ModerationOpts, + type ModerationOpts, } from '@atproto/api' -import {InfiniteData, UseInfiniteQueryResult} from '@tanstack/react-query' +import { + type InfiniteData, + type UseInfiniteQueryResult, +} from '@tanstack/react-query' import {useBottomBarOffset} from '#/lib/hooks/useBottomBarOffset' import {useInitialNumToRender} from '#/lib/hooks/useInitialNumToRender' @@ -14,8 +17,8 @@ import {isBlockedOrBlocking} from '#/lib/moderation/blocked-and-muted' import {isNative, isWeb} from '#/platform/detection' import {useAllListMembersQuery} from '#/state/queries/list-members' import {useSession} from '#/state/session' -import {List, ListRef} from '#/view/com/util/List' -import {SectionRef} from '#/screens/Profile/Sections/types' +import {List, type ListRef} from '#/view/com/util/List' +import {type SectionRef} from '#/screens/Profile/Sections/types' import {atoms as a, useTheme} from '#/alf' import {ListFooter, ListMaybePlaceholder} from '#/components/Lists' import {Default as ProfileCard} from '#/components/ProfileCard' diff --git a/src/components/StarterPack/QrCode.tsx b/src/components/StarterPack/QrCode.tsx index 6443ec694..86f1aa1e6 100644 --- a/src/components/StarterPack/QrCode.tsx +++ b/src/components/StarterPack/QrCode.tsx @@ -3,7 +3,7 @@ import {View} from 'react-native' // @ts-expect-error missing types import QRCode from 'react-native-qrcode-styled' import type ViewShot from 'react-native-view-shot' -import {AppBskyGraphDefs, AppBskyGraphStarterpack} from '@atproto/api' +import {type AppBskyGraphDefs, AppBskyGraphStarterpack} from '@atproto/api' import {Trans} from '@lingui/macro' import {isWeb} from '#/platform/detection' diff --git a/src/components/StarterPack/Wizard/ScreenTransition.tsx b/src/components/StarterPack/Wizard/ScreenTransition.tsx index 9b76d4c60..c02888e1d 100644 --- a/src/components/StarterPack/Wizard/ScreenTransition.tsx +++ b/src/components/StarterPack/Wizard/ScreenTransition.tsx @@ -1,11 +1,11 @@ -import React from 'react' -import {StyleProp, ViewStyle} from 'react-native' +import {type StyleProp, type ViewStyle} from 'react-native' import Animated, { FadeIn, FadeOut, SlideInLeft, SlideInRight, } from 'react-native-reanimated' +import type React from 'react' import {isWeb} from '#/platform/detection' |