|
|
@ -29,6 +29,9 @@ const ProfileAddress = ({ |
|
|
|
setPhase, |
|
|
|
setPhase, |
|
|
|
isMobile, |
|
|
|
isMobile, |
|
|
|
isDark, |
|
|
|
isDark, |
|
|
|
|
|
|
|
setMenu, |
|
|
|
|
|
|
|
setDialog, |
|
|
|
|
|
|
|
deleteAddress, |
|
|
|
}) => { |
|
|
|
}) => { |
|
|
|
const navigation = useNavigate(); |
|
|
|
const navigation = useNavigate(); |
|
|
|
|
|
|
|
|
|
|
@ -68,6 +71,9 @@ const ProfileAddress = ({ |
|
|
|
active={userAddressId === address?.id} |
|
|
|
active={userAddressId === address?.id} |
|
|
|
isDark={isDark} |
|
|
|
isDark={isDark} |
|
|
|
update={update} |
|
|
|
update={update} |
|
|
|
|
|
|
|
setMenu={setMenu} |
|
|
|
|
|
|
|
setDialog={setDialog} |
|
|
|
|
|
|
|
deleteAddress={deleteAddress} |
|
|
|
/> |
|
|
|
/> |
|
|
|
))} |
|
|
|
))} |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -87,7 +93,6 @@ const Location = ({ |
|
|
|
userAddressId, |
|
|
|
userAddressId, |
|
|
|
loading, |
|
|
|
loading, |
|
|
|
menu, |
|
|
|
menu, |
|
|
|
isMobile, |
|
|
|
|
|
|
|
}) => { |
|
|
|
}) => { |
|
|
|
const [locationMenu, setLocationMenu] = React.useState(false); |
|
|
|
const [locationMenu, setLocationMenu] = React.useState(false); |
|
|
|
|
|
|
|
|
|
|
|