diff --git a/src/views/Dashboard/layouts/Main/Addresses/index.js b/src/views/Dashboard/layouts/Main/Addresses/index.js index d2bb971..c700128 100644 --- a/src/views/Dashboard/layouts/Main/Addresses/index.js +++ b/src/views/Dashboard/layouts/Main/Addresses/index.js @@ -1,5 +1,6 @@ import React from "react"; import { connect } from "react-redux"; + import { userAddress, userFactor, @@ -14,6 +15,8 @@ import Button from "../../../../../components/Button"; import { Link, useNavigate } from "react-router-dom"; import editButton from "../../../../../assets/icons/edit.svg"; import trash from "../../../../../assets/icons/trash.svg"; +import Empty from "../../../../../components/Empty"; +import FloatingButton from "../../../../../components/FloatingButton"; const ProfileAddress = ({ addresses, @@ -83,6 +86,8 @@ const Location = ({ deleteAddress, userAddressId, loading, + menu, + isMobile, }) => { const [locationMenu, setLocationMenu] = React.useState(false); @@ -165,18 +170,19 @@ const Location = ({ {/* edit / delete button */}
- - delete-address + + edit-address
delAddress(address.id)} > - - edit-address + + delete-address