When you're on a channel page and you tap a link to a different channel, the router and URL updates, but the UI does not. E.g. the channel isn't changed.
This PR detects if params.slug changes and makes sure to check if we need to refresh the channel. Hope it doesn't introduce any side-effects, but seems fine.
When you're on a channel page and you tap a link to a different channel, the router and URL updates, but the UI does not. E.g. the channel isn't changed.
This PR detects if
params.slug
changes and makes sure to check if we need to refresh the channel. Hope it doesn't introduce any side-effects, but seems fine.