Skip to content

Commit

Permalink
feat: filter unused params
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Sep 16, 2024
1 parent f9dc545 commit cb9860d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/src/modules/discover/DiscoverFeedForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
</>
Expand All @@ -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],
)
Expand Down

0 comments on commit cb9860d

Please sign in to comment.