Hide followed hashtags when no streams are live #108
No reviewers
Labels
No Label
backend
bug
duplicate
enhancement
help wanted
invalid
needs:design
P1
P2
P3
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Kieran/zap.stream#108
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "florian/stream:fix/hide-followed-hashtags-with-no-streams"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have followed some hashtags and they always show up as empty sections in zap.stream even when there is no live stream using these hashtags.
I moved the filtering of the live streams to a useMemo and added a check if there are any live streams >0 for the given hashtag.
This hides the hashtag sections if there are no matching live streams.