diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-06-23 17:44:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-23 07:44:40 -0700 |
commit | c634cd9071305239f8c7d6acf371aca397f2bf2b (patch) | |
tree | 6df1efe8fc7d01b2bca9d325c4971a03534e361e /src/view/com/posts/PostFeedErrorMessage.tsx | |
parent | 3c92714e4e898ffabd714092f4d9c88eddf8429c (diff) | |
download | voidsky-c634cd9071305239f8c7d6acf371aca397f2bf2b.tar.zst |
Upgrade prettier to 3.6 (#8558)
* upgrade prettier * run prettier * more files
Diffstat (limited to 'src/view/com/posts/PostFeedErrorMessage.tsx')
-rw-r--r-- | src/view/com/posts/PostFeedErrorMessage.tsx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/view/com/posts/PostFeedErrorMessage.tsx b/src/view/com/posts/PostFeedErrorMessage.tsx index 39347b89c..808ef9fff 100644 --- a/src/view/com/posts/PostFeedErrorMessage.tsx +++ b/src/view/com/posts/PostFeedErrorMessage.tsx @@ -1,15 +1,19 @@ import React from 'react' import {View} from 'react-native' -import {AppBskyActorDefs, AppBskyFeedGetAuthorFeed, AtUri} from '@atproto/api' +import { + type AppBskyActorDefs, + AppBskyFeedGetAuthorFeed, + AtUri, +} from '@atproto/api' import {msg as msgLingui, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {useNavigation} from '@react-navigation/native' import {usePalette} from '#/lib/hooks/usePalette' -import {NavigationProp} from '#/lib/routes/types' +import {type NavigationProp} from '#/lib/routes/types' import {cleanError} from '#/lib/strings/errors' import {logger} from '#/logger' -import {FeedDescriptor} from '#/state/queries/post-feed' +import {type FeedDescriptor} from '#/state/queries/post-feed' import {useRemoveFeedMutation} from '#/state/queries/preferences' import * as Prompt from '#/components/Prompt' import {EmptyState} from '../util/EmptyState' @@ -119,7 +123,7 @@ function FeedgenErrorMessage({ [KnownError.FeedTooManyRequests]: _l( msgLingui`This feed is currently receiving high traffic and is temporarily unavailable. Please try again later.`, ), - }[knownError]), + })[knownError], [_l, knownError], ) const [_, uri] = feedDesc.split('|') |