diff --git a/src/view/com/feeds/FeedPage.tsx b/src/view/com/feeds/FeedPage.tsx
index 26c28729ca..3b4812f1ca 100644
--- a/src/view/com/feeds/FeedPage.tsx
+++ b/src/view/com/feeds/FeedPage.tsx
@@ -18,8 +18,11 @@ import {listenSoftReset} from '#/state/events'
import {FeedFeedbackProvider, useFeedFeedback} from '#/state/feed-feedback'
import {useSetHomeBadge} from '#/state/home-badge'
import {type FeedSourceInfo} from '#/state/queries/feed'
-import {RQKEY as FEED_RQKEY} from '#/state/queries/post-feed'
-import {type FeedDescriptor, type FeedParams} from '#/state/queries/post-feed'
+import {
+ type FeedDescriptor,
+ type FeedParams,
+ RQKEY as FEED_RQKEY,
+} from '#/state/queries/post-feed'
import {truncateAndInvalidate} from '#/state/queries/util'
import {useSession} from '#/state/session'
import {useSetMinimalShellMode} from '#/state/shell'
@@ -29,7 +32,6 @@ import {FAB} from '../util/fab/FAB'
import {type ListMethods} from '../util/List'
import {LoadLatestBtn} from '../util/load-latest/LoadLatestBtn'
import {MainScrollProvider} from '../util/MainScrollProvider'
-import {NoSnippetWrapper} from '../util/NoSnippetWrapper'
const POLL_FREQ = 60e3 // 60sec
@@ -133,49 +135,48 @@ export function FeedPage({
const shouldPrefetch = isNative && isPageAdjacent
return (
-
-
-
-
-
-
-
- {(isScrolledDown || hasNew) && (
-
+
+
+
- )}
+
+
+ {(isScrolledDown || hasNew) && (
+
+ )}
- {hasSession && (
- }
- accessibilityRole="button"
- accessibilityLabel={_(
- msg({message: `New post`, context: 'action'}),
- )}
- accessibilityHint=""
- />
- )}
-
-
+ {hasSession && (
+ }
+ accessibilityRole="button"
+ accessibilityLabel={_(msg({message: `New post`, context: 'action'}))}
+ accessibilityHint=""
+ />
+ )}
+
)
}
diff --git a/src/view/com/util/NoSnippetWrapper.tsx b/src/view/com/util/NoSnippetWrapper.tsx
deleted file mode 100644
index fcf6582494..0000000000
--- a/src/view/com/util/NoSnippetWrapper.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-import {type ViewProps} from 'react-native'
-// @ts-expect-error untyped
-import {unstable_createElement} from 'react-native-web'
-
-import {isWeb} from '#/platform/detection'
-
-interface Props extends ViewProps {
- enabled: boolean
-}
-
-/**
- * NoSnippetWrapper prevents search engines from displaying snippets of its content.
- *
- * If running on web and enabled, wraps children in a
with data-nosnippet attribute.
- * Otherwise, renders children directly.
- *
- * @param enabled - Whether to apply the data-nosnippet attribute.
- * @param viewProps - Additional props for the wrapper element.
- */
-export function NoSnippetWrapper({enabled, ...viewProps}: Props) {
- if (isWeb && enabled) {
- return unstable_createElement('div', {
- ...viewProps,
- 'data-nosnippet': '',
- })
- }
-
- return <>{viewProps.children}>
-}