From cb9860d4b3fce913c2e9ecba0dd607c75592b8cf Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 17 Sep 2024 02:56:11 +0800 Subject: [PATCH] feat: filter unused params --- src/renderer/src/modules/discover/DiscoverFeedForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/modules/discover/DiscoverFeedForm.tsx b/src/renderer/src/modules/discover/DiscoverFeedForm.tsx index 2646269890..37f347ea51 100644 --- a/src/renderer/src/modules/discover/DiscoverFeedForm.tsx +++ b/src/renderer/src/modules/discover/DiscoverFeedForm.tsx @@ -75,7 +75,7 @@ const FeedDescription = ({ description }: { description?: string }) => { return ( <>

{t("discover.feed_description")}

- + {description} @@ -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], )