Skip to content

Commit

Permalink
fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hu-ke committed Nov 22, 2024
1 parent a81c410 commit 09548cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/connect-multi-chain/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { chains } from 'chain-registry';
import { Asset, Chain } from '@chain-registry/types';

export function getLogo(from: Asset | Chain) {
return from.logo_URIs?.svg || from.logo_URIs?.png || from.logo_URIs?.jpeg;
return from.logo_URIs?.svg || from.logo_URIs?.png;
}

export function getChainLogo(name: string) {
Expand Down

0 comments on commit 09548cf

Please sign in to comment.