Skip to content

Commit

Permalink
fix: error navigation token after clicking on SearchResult
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendn committed Oct 31, 2022
1 parent 88ee9a0 commit 5af31c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/Search/ResultView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export default function ResultView({ item }: ResultViewProps) {
return LinkMaker.address(linkValue)
}

if (type === 'Token') {
return LinkMaker.token(linkValue)
}

return LinkMaker.transaction(linkValue)
}
return (
Expand Down

0 comments on commit 5af31c5

Please sign in to comment.