Hashtag timeline: stop flashing repeatedly

Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1166
This commit is contained in:
Alex Gleason 2022-11-14 17:03:40 -06:00
parent 5d5a29b9f0
commit 386be7d9e3
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -95,7 +95,7 @@ export const HashtagTimeline: React.FC<IHashtagTimeline> = ({ params }) => {
subscribe(); subscribe();
dispatch(clearTimeline(`hashtag:${id}`)); dispatch(clearTimeline(`hashtag:${id}`));
dispatch(expandHashtagTimeline(id, { tags })); dispatch(expandHashtagTimeline(id, { tags }));
}, [id, tags]); }, [id]);
return ( return (
<Column label={`#${id}`} transparent withHeader={false}> <Column label={`#${id}`} transparent withHeader={false}>