Skip to content

Commit

Permalink
Fix token icons in search page
Browse files Browse the repository at this point in the history
  • Loading branch information
babgev committed Apr 16, 2024
1 parent 1a9b7fc commit b378ed2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/[searchParam]/SearchData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default function SearchData({ searchParam }: { searchParam: string }) {
<div className="relative h-4 w-4 md:h-5 md:w-5">
<span>
<span></span>
<Image alt={`Source token icon ${index}`} src={sourceNetwork?.logo || ''} width={20} height={20} decoding="async" data-nimg="responsive" className="rounded-md" />
<Image alt={`Source token icon ${index}`} src={sourceToken?.logo || ''} width={20} height={20} decoding="async" data-nimg="responsive" className="rounded-md" />
</span>
</div>
<div className="mx-2.5">
Expand Down Expand Up @@ -168,7 +168,7 @@ export default function SearchData({ searchParam }: { searchParam: string }) {
<div className="flex flex-row items-center ml-4 mb-1">
<div className="relative h-4 w-4 md:h-5 md:w-5">
<span>
<Image alt={`Destination token icon ${index}`} src={destinationNetwork?.logo || ''} width={20} height={20} decoding="async" data-nimg="responsive" className="rounded-md" />
<Image alt={`Destination token icon ${index}`} src={destinationToken?.logo || ''} width={20} height={20} decoding="async" data-nimg="responsive" className="rounded-md" />
</span>
</div>
{
Expand Down

0 comments on commit b378ed2

Please sign in to comment.