diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-09-09 18:09:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-09 08:09:10 -0700 |
commit | 3e2c181c404e2070873bc9c473b428a610bd193e (patch) | |
tree | 3a579b8e99852ffa339756e2069850dce4151d09 /src/view/com/lists | |
parent | d496a223522b4cdefef0a8725ce31d05e398e68f (diff) | |
download | voidsky-3e2c181c404e2070873bc9c473b428a610bd193e.tar.zst |
Upgrade `@types/react` to 19 and run codemod (attempt 2) (#8918)
* update dependencies * rm `import type React from 'react'` * run codemods * patch discord types * update types/react-dom * Update yarn.lock
Diffstat (limited to 'src/view/com/lists')
-rw-r--r-- | src/view/com/lists/ListMembers.tsx | 2 | ||||
-rw-r--r-- | src/view/com/lists/MyLists.tsx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/view/com/lists/ListMembers.tsx b/src/view/com/lists/ListMembers.tsx index 541c8abf9..0771dcd4b 100644 --- a/src/view/com/lists/ListMembers.tsx +++ b/src/view/com/lists/ListMembers.tsx @@ -1,4 +1,4 @@ -import React, {useCallback} from 'react' +import React, {type JSX, useCallback} from 'react' import { Dimensions, type GestureResponderEvent, diff --git a/src/view/com/lists/MyLists.tsx b/src/view/com/lists/MyLists.tsx index 5f94946e8..18110b8ba 100644 --- a/src/view/com/lists/MyLists.tsx +++ b/src/view/com/lists/MyLists.tsx @@ -1,13 +1,13 @@ -import React from 'react' +import React, {type JSX} from 'react' import { ActivityIndicator, FlatList as RNFlatList, RefreshControl, - StyleProp, + type StyleProp, View, - ViewStyle, + type ViewStyle, } from 'react-native' -import {AppBskyGraphDefs as GraphDefs} from '@atproto/api' +import {type AppBskyGraphDefs as GraphDefs} from '@atproto/api' import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' @@ -16,7 +16,7 @@ import {cleanError} from '#/lib/strings/errors' import {s} from '#/lib/styles' import {logger} from '#/logger' import {useModerationOpts} from '#/state/preferences/moderation-opts' -import {MyListsFilter, useMyListsQuery} from '#/state/queries/my-lists' +import {type MyListsFilter, useMyListsQuery} from '#/state/queries/my-lists' import {atoms as a, useTheme} from '#/alf' import {BulletList_Stroke2_Corner0_Rounded as ListIcon} from '#/components/icons/BulletList' import * as ListCard from '#/components/ListCard' |