bug: reload timeline switching hashtags
This commit is contained in:
parent
147c7502dc
commit
aa0f849d09
@ -51,7 +51,7 @@ export default function useTimelineFeed(subject: TimelineSubject, options: Timel
|
||||
}
|
||||
|
||||
return sub;
|
||||
}, [subject, until, since, window]);
|
||||
}, [subject.type, subject.items, until, since, window]);
|
||||
|
||||
const main = useSubscription(sub, { leaveOpen: true });
|
||||
|
||||
|
@ -8,7 +8,7 @@ const HashTagsPage = () => {
|
||||
return (
|
||||
<>
|
||||
<h2>#{tag}</h2>
|
||||
<Timeline subject={{ type: "hashtag", items: [tag] }} postsOnly={false} method={"TIME_RANGE"} />
|
||||
<Timeline key={tag} subject={{ type: "hashtag", items: [tag] }} postsOnly={false} method={"TIME_RANGE"} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user