diff --git a/web/components/contract-search.tsx b/web/components/contract-search.tsx index 980f8d97..ca909035 100644 --- a/web/components/contract-search.tsx +++ b/web/components/contract-search.tsx @@ -160,7 +160,7 @@ const useFilterCreator = (creatorId: string | undefined) => { const useFilterTag = (tag: string | undefined) => { const { refine } = useRefinementList({ attribute: 'lowercaseTags' }) useEffect(() => { - if (tag) refine(`${tag.toLowerCase()} OR ManifoldMarkets`) + if (tag) refine(tag.toLowerCase()) }, [tag, refine]) } diff --git a/web/pages/tag/[tag].tsx b/web/pages/tag/[tag].tsx index 171a3ab2..cfec0893 100644 --- a/web/pages/tag/[tag].tsx +++ b/web/pages/tag/[tag].tsx @@ -7,11 +7,16 @@ export default function TagPage() { const router = useRouter() const { tag } = router.query as { tag: string } + // TODO: Fix error: The provided `href` (/tag/[tag]?s=newest) value is missing query values (tag) return ( <ContractSearch - querySortOptions={{ filter: { tag }, defaultSort: 'newest' }} + querySortOptions={{ + filter: { tag }, + defaultSort: 'newest', + shouldLoadFromStorage: false, + }} /> </Page> )