Hashtags #92
@ -3,10 +3,12 @@ import Timeline from "../element/Timeline";
|
||||
|
||||
const HashTagsPage = () => {
|
||||
const params = useParams();
|
||||
const tag = params.tag!.toLowerCase();
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
<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"} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user
no need to use a fragment here.
Or perhaps we could add a heading with the hashtag that is being searched