From 4a1f1efd7642b4e3cbac25e4d4c43efa1435912c Mon Sep 17 00:00:00 2001
From: Caidan Williams <caidan@internet.dev>
Date: Wed, 27 Aug 2025 11:56:01 -0700
Subject: refactor(feed): simplify isDiscoverFeed logic in FeedPage

---
 src/view/com/feeds/FeedPage.tsx | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'src/view/com/feeds/FeedPage.tsx')

diff --git a/src/view/com/feeds/FeedPage.tsx b/src/view/com/feeds/FeedPage.tsx
index 3b4812f1c..0f93e66e3 100644
--- a/src/view/com/feeds/FeedPage.tsx
+++ b/src/view/com/feeds/FeedPage.tsx
@@ -76,10 +76,6 @@ export function FeedPage({
     return isNative && _isVideoFeed
   }, [feedInfo])
 
-  const isDiscoverFeed = useMemo(() => {
-    return feedInfo.uri === DISCOVER_FEED_URI
-  }, [feedInfo.uri])
-
   useEffect(() => {
     if (isPageFocused) {
       setHomeBadge(hasNew)
@@ -134,6 +130,7 @@ export function FeedPage({
   }, [scrollToTop, feed, queryClient])
 
   const shouldPrefetch = isNative && isPageAdjacent
+  const isDiscoverFeed = feedInfo.uri === DISCOVER_FEED_URI
   return (
     <View
       testID={testID}
-- 
cgit 1.4.1

