diff --git a/src/constants/options/filters.ts b/src/constants/options/filters.ts index 283be5470..6dddf47e8 100644 --- a/src/constants/options/filters.ts +++ b/src/constants/options/filters.ts @@ -2,7 +2,6 @@ export const DEFAULT_FEED_FILTERS = ['friends', 'communities', 'blog']; export const DEFAULT_COMMUNITY_FILTERS = ['trending', 'hot', 'created']; export const DEFAULT_PROFILE_FILTERS = ['blog', 'posts', 'comments']; export const DEFAULT_OWN_PROFILE_FILTERS = ['blog', 'posts', 'replies']; -export const GUEST_FEED_FILTERS = ['trending', 'hot', 'created']; export const FEED_SCREEN_FILTER_MAP: { [key: string]: string } = { friends: 'home.friends', diff --git a/src/screens/feed/screen/feedScreen.tsx b/src/screens/feed/screen/feedScreen.tsx index 9ba2fbb6e..5a973edf4 100644 --- a/src/screens/feed/screen/feedScreen.tsx +++ b/src/screens/feed/screen/feedScreen.tsx @@ -9,7 +9,7 @@ import { Header, TabbedPosts } from '../../../components'; // Styles import styles from './feedStyles'; -import {DEFAULT_FEED_FILTERS, GUEST_FEED_FILTERS, FEED_SCREEN_FILTER_MAP } from '../../../constants/options/filters'; +import {DEFAULT_FEED_FILTERS, GLOBAL_POST_FILTERS, FEED_SCREEN_FILTER_MAP } from '../../../constants/options/filters'; import { useAppSelector } from '../../../hooks'; import CommentsTabContent from '../../../components/profile/children/commentsTabContent'; @@ -38,7 +38,7 @@ const FeedScreen = () => { const feedFilters = useMemo(() => - isLoggedIn ? mainTabs || DEFAULT_FEED_FILTERS : GUEST_FEED_FILTERS + isLoggedIn ? mainTabs || DEFAULT_FEED_FILTERS : GLOBAL_POST_FILTERS , [isLoggedIn, mainTabs]) const tabFilters = useMemo(() =>