lbry-desktop/ui/component/fileViewCountInline
infinite-persistence a199432b5c
Fix view-count showing up in non-Channel pages
## Issue
If you navigated to a Channel Page and returned to the homepage (or any page with ClaimPreview), the view-count is shown because we have that data.

## Fix
Instead of passing props around through the long "list" component chain (`ChannelContent -> ClaimListDiscover -> ClaimList -> ClaimPreview`) to indicate whether we should display it , just check the pathname at the lowest component level;  I believe eventually we would display it everywhere anyways, so this we'll be the easiest to clean up.
2021-09-20 09:28:58 +08:00
..
index.js Handle view_count formatting on old browsers 2021-09-16 17:11:09 +08:00
view.jsx Fix view-count showing up in non-Channel pages 2021-09-20 09:28:58 +08:00