Skip to content

Commit

Permalink
fix: rainbowkit chains
Browse files Browse the repository at this point in the history
  • Loading branch information
magiziz committed Nov 15, 2023
1 parent 9f3cb6d commit 360a209
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const provideRainbowKitChains = <Chain extends RainbowKitChain>(
return {
...chain,
name: defaultMetadata.name ?? chain.name, // favor colloquial names
iconUrl: defaultMetadata.iconUrl,
iconBackground: defaultMetadata.iconBackground,
iconUrl: chain.iconUrl ?? defaultMetadata.iconUrl,
iconBackground: chain.iconBackground ?? defaultMetadata.iconBackground,
} as Chain;
});

0 comments on commit 360a209

Please sign in to comment.