diff --git a/modules/Search/components/Hit.tsx b/modules/Search/components/Hit.tsx index e571c46d..51901dfc 100644 --- a/modules/Search/components/Hit.tsx +++ b/modules/Search/components/Hit.tsx @@ -22,9 +22,15 @@ function HitComponent({ hit }: Props) { const { categories } = story; const { showDate, showSubtitle } = useThemeSettings(); + // strip query params from story links + const storyLink = { + pathname: '/[slug]', + query: { slug: story.slug }, + }; + return (
- + )}

- + @@ -50,7 +56,7 @@ function HitComponent({ hit }: Props) { {showSubtitle && (

- + {story.subtitle}