Skip to content

Commit

Permalink
fix: show network badge in swap view
Browse files Browse the repository at this point in the history
  • Loading branch information
micaelae committed Feb 19, 2025
1 parent 4c6e099 commit 04a514b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ export const BridgeAssetPickerButton = ({
<BadgeWrapper
marginRight={2}
badge={
asset && networkProps?.network?.name ? (
asset ? (
<AvatarNetwork
name={networkProps.network.name}
name={networkProps?.network?.name ?? ''}
src={networkImageSrc}
size={AvatarNetworkSize.Xs}
/>
Expand Down

0 comments on commit 04a514b

Please sign in to comment.