Commit 9f1afadb authored by isstuev's avatar isstuev

fix

parent 3ed37a15
...@@ -54,11 +54,13 @@ const SearchResultsPageContent = () => { ...@@ -54,11 +54,13 @@ const SearchResultsPageContent = () => {
return; return;
} }
case 'user_operation': { case 'user_operation': {
if (config.features.userOps.isEnabled) {
router.replace({ pathname: '/op/[hash]', query: { hash: redirectCheckQuery.data.parameter } }); router.replace({ pathname: '/op/[hash]', query: { hash: redirectCheckQuery.data.parameter } });
return; return;
} }
} }
} }
}
!redirectCheckQuery.isPending && setShowContent(true); !redirectCheckQuery.isPending && setShowContent(true);
}, [ redirectCheckQuery, router, debouncedSearchTerm, showContent ]); }, [ redirectCheckQuery, router, debouncedSearchTerm, showContent ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment