fixed delete button at address component | 30

temp
mahdi 2 years ago
parent 3bb37b64b4
commit 5b816674d4
  1. 7
      src/views/Dashboard/layouts/Main/Addresses/index.js

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

Loading…
Cancel
Save