feat: filter unused params
This commit is contained in:
@@ -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],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user