Skip to content

Commit

Permalink
fix: mf-5999 filter plugins (#11303)
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleBill committed Jan 22, 2024
1 parent f224cb5 commit 70ccc3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -22,7 +22,7 @@ export const Link = memo(function Anchor(props: RenderFragmentsContextType.LinkP
})

export function useTagEnhancer(kind: 'hash' | 'cash', content: string) {
const plugin = useActivatedPluginsSiteAdaptor(true)
const plugin = useActivatedPluginsSiteAdaptor(false)
.filter((x) => x.enhanceTag)
.at(0)

Expand Down
Expand Up @@ -72,7 +72,7 @@ function TrendingViewWrapper({
const { data: resultList, isLoading: loadingResultList } = useQuery({
queryKey: ['dsearch', keyword, searchType],
queryFn: async () => {
if (!keyword || !searchType) return EMPTY_LIST
if (!keyword) return EMPTY_LIST
const results = await DSearch.search<Web3Helper.TokenResultAll>(keyword, searchType)
return results
},
Expand Down

0 comments on commit 70ccc3a

Please sign in to comment.