Skip to content

Commit cb9860d

Browse files
committed
feat: filter unused params
1 parent f9dc545 commit cb9860d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/src/modules/discover/DiscoverFeedForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const FeedDescription = ({ description }: { description?: string }) => {
7575
return (
7676
<>
7777
<p>{t("discover.feed_description")}</p>
78-
<Markdown className="my-4 w-full max-w-full cursor-text select-text break-all">
78+
<Markdown className="w-full max-w-full cursor-text select-text break-all prose-p:my-1">
7979
{description}
8080
</Markdown>
8181
</>
@@ -97,7 +97,7 @@ export const DiscoverFeedForm = ({
9797
const keys = useMemo(
9898
() =>
9999
parseRegexpPathParams(route.path, {
100-
excludeNames: ["routeParams", "functionalFlag", "fulltext"],
100+
excludeNames: ["routeParams", "functionalFlag", "fulltext", "disableEmbed", "date"],
101101
}),
102102
[route.path],
103103
)

0 commit comments

Comments
 (0)