Skip to content

Commit 563dfa0

Browse files
committed
fix: Add letter in AvatarNetwork of NetworkFilter
1 parent 0f5f974 commit 563dfa0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/components/app/assets/asset-list/network-filter/network-filter.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ const NetworkFilter = ({ handleClose }: SortControlProps) => {
101101
return allNetworks[chain].name;
102102
});
103103

104+
console.log(currentNetwork);
105+
104106
return (
105107
<>
106108
<SelectableListItem
@@ -203,7 +205,7 @@ const NetworkFilter = ({ handleClose }: SortControlProps) => {
203205
</Box>
204206
<AvatarNetwork
205207
size={AvatarNetworkSize.Sm}
206-
name="Current"
208+
name={currentNetwork?.nickname || ''}
207209
src={currentNetwork?.rpcPrefs?.imageUrl}
208210
/>
209211
</Box>

0 commit comments

Comments
 (0)