feat: enable category slug pages
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { useSearchParams } from "react-router-dom";
|
||||
import { MessageStream } from "../../components/messageStream/MessageStream";
|
||||
import { SectionHeader } from "../../components/SectionHeader";
|
||||
import { AssetStreamPage } from "../../components/AssetStreamPage";
|
||||
import { useI18n } from "../../i18n";
|
||||
|
||||
export function Browse() {
|
||||
@@ -17,12 +16,5 @@ export function Browse() {
|
||||
: sort === "popular"
|
||||
? t("popular")
|
||||
: t("all");
|
||||
return (
|
||||
<section>
|
||||
<div className="mx-auto max-w-full px-4 md:max-w-[820px] lg:max-w-[1080px] xl:max-w-[1180px]">
|
||||
<SectionHeader title={title} />
|
||||
</div>
|
||||
<MessageStream scope={{ kind: "all" }} />
|
||||
</section>
|
||||
);
|
||||
return <AssetStreamPage title={title} scope={{ kind: "all" }} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user