Drop the hard-coded what's hot algo
This commit is contained in:
parent
2f4408582b
commit
84990c509e
6 changed files with 36 additions and 100 deletions
|
@ -28,12 +28,7 @@ const FeedsTabBarDesktop = observer(
|
|||
) => {
|
||||
const store = useStores()
|
||||
const items = useMemo(
|
||||
() => [
|
||||
'Following',
|
||||
"What's hot",
|
||||
...store.me.savedFeeds.pinnedFeedNames,
|
||||
'My feeds',
|
||||
],
|
||||
() => ['Following', ...store.me.savedFeeds.pinnedFeedNames, 'My feeds'],
|
||||
[store.me.savedFeeds.pinnedFeedNames],
|
||||
)
|
||||
const pal = usePalette('default')
|
||||
|
|
|
@ -33,12 +33,7 @@ export const FeedsTabBar = observer(
|
|||
}, [store])
|
||||
|
||||
const items = useMemo(
|
||||
() => [
|
||||
'Following',
|
||||
"What's hot",
|
||||
...store.me.savedFeeds.pinnedFeedNames,
|
||||
'My feeds',
|
||||
],
|
||||
() => ['Following', ...store.me.savedFeeds.pinnedFeedNames, 'My feeds'],
|
||||
[store.me.savedFeeds.pinnedFeedNames],
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue