|
|
@ -14,13 +14,11 @@ import React from "react"; |
|
|
|
import { connect } from "react-redux"; |
|
|
|
import { connect } from "react-redux"; |
|
|
|
import { asyncAwesomeAlert } from "../../../../utils/AsyncWrappers"; |
|
|
|
import { asyncAwesomeAlert } from "../../../../utils/AsyncWrappers"; |
|
|
|
import { useNavigation } from "@react-navigation/native"; |
|
|
|
import { useNavigation } from "@react-navigation/native"; |
|
|
|
import { Ionicons, Entypo } from "@expo/vector-icons"; |
|
|
|
import { Ionicons } from "@expo/vector-icons"; |
|
|
|
import { userAddress, userFactor } from "../../../../redux/actions"; |
|
|
|
import { userAddress, userFactor } from "../../../../redux/actions"; |
|
|
|
import Svg, { G, Path } from "react-native-svg"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//components
|
|
|
|
//components
|
|
|
|
import Navbar from "../../../../components/Navbar"; |
|
|
|
import Navbar from "../../../../components/Navbar"; |
|
|
|
import CustomPressable from "../../../../components/Pressable"; |
|
|
|
|
|
|
|
import Empty from "../../../../components/Empty"; |
|
|
|
import Empty from "../../../../components/Empty"; |
|
|
|
|
|
|
|
|
|
|
|
//style
|
|
|
|
//style
|
|
|
@ -248,7 +246,7 @@ const ProfileAddress = ({ |
|
|
|
showCancelButton: true, |
|
|
|
showCancelButton: true, |
|
|
|
confirmText: "بله", |
|
|
|
confirmText: "بله", |
|
|
|
cancelText: "لغو", |
|
|
|
cancelText: "لغو", |
|
|
|
onConfirm: () => deleteItem({ id: address?.id }), |
|
|
|
onConfirm: () => deleteItem({ id : address?.id }), |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
> |
|
|
|
> |
|
|
|