Skip to content

Commit

Permalink
fix: error with link search cosmos hash
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendn committed Nov 1, 2022
1 parent 1a48ece commit ea4a346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Search/SearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function SearchResult({ status, data }: SearchResultProps) {
key: item.evmHash || item.cosmosHash,
type: 'Transaction',
value: item.evmHash || item.cosmosHash,
linkValue: `${item.evmHash}&type=evm` || item.cosmosHash
linkValue: item.evmHash ? `${item.evmHash}&type=evm` : item.cosmosHash
})
}
}
Expand Down

0 comments on commit ea4a346

Please sign in to comment.