Skip to content

Commit

Permalink
fix: hide network picker back button when network is unselected
Browse files Browse the repository at this point in the history
  • Loading branch information
micaelae committed Jan 14, 2025
1 parent c5e39f4 commit d1b7579
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const AssetPickerModalNetwork = ({
<ModalOverlay />
<ModalContent modalDialogProps={{ padding: 0 }}>
<ModalHeader
onBack={onBack}
onBack={network ? onBack : undefined}
onClose={isMultiselectEnabled ? undefined : onClose}
endAccessory={
isMultiselectEnabled && selectedChainIds ? (
Expand Down

0 comments on commit d1b7579

Please sign in to comment.