Hashtags #92

Merged
v0l merged 2 commits from hashtags into main 2023-01-19 18:00:56 +00:00
Showing only changes of commit e4e3ff03a9 - Show all commits

View File

@ -3,10 +3,12 @@ import Timeline from "../element/Timeline";
const HashTagsPage = () => {
const params = useParams();
const tag = params.tag!.toLowerCase();
return (
<>
verbiricha commented 2023-01-19 17:17:44 +00:00 (Migrated from github.com)
Review

no need to use a fragment here.

no need to use a fragment here.
verbiricha commented 2023-01-19 17:19:19 +00:00 (Migrated from github.com)
Review

Or perhaps we could add a heading with the hashtag that is being searched

Or perhaps we could add a heading with the hashtag that is being searched
<Timeline subject={{ type: "hashtag", items: [params.tag!] }} postsOnly={false} method={"TIME_RANGE"} />
<h2>#{tag}</h2>
<Timeline subject={{ type: "hashtag", items: [tag] }} postsOnly={false} method={"TIME_RANGE"} />
</>
)
}