feat: filter unused params

This commit is contained in:
DIYgod 2024-09-17 02:56:11 +08:00
parent f9dc5458ab
commit cb9860d4b3
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ const FeedDescription = ({ description }: { description?: string }) => {
return (
<>
<p>{t("discover.feed_description")}</p>
<Markdown className="my-4 w-full max-w-full cursor-text select-text break-all">
<Markdown className="w-full max-w-full cursor-text select-text break-all prose-p:my-1">
{description}
</Markdown>
</>
@ -97,7 +97,7 @@ export const DiscoverFeedForm = ({
const keys = useMemo(
() =>
parseRegexpPathParams(route.path, {
excludeNames: ["routeParams", "functionalFlag", "fulltext"],
excludeNames: ["routeParams", "functionalFlag", "fulltext", "disableEmbed", "date"],
}),
[route.path],
)