|
|
|
@ -7,7 +7,6 @@ import { |
|
|
|
|
StatusBar, |
|
|
|
|
Platform, |
|
|
|
|
Dimensions, |
|
|
|
|
Appearance, |
|
|
|
|
KeyboardAvoidingView, |
|
|
|
|
TextInput, |
|
|
|
|
TouchableWithoutFeedback, |
|
|
|
@ -24,7 +23,6 @@ import Navbar from "../../components/Navbar"; |
|
|
|
|
import CustomPressable from "../../components/Pressable"; |
|
|
|
|
import CustomTextInput from "../../components/CustomTextInput"; |
|
|
|
|
import Select from "../../components/Select"; |
|
|
|
|
import MapSelector from "../../components/MapSelector"; |
|
|
|
|
|
|
|
|
|
//style
|
|
|
|
|
import tw from "tailwind-rn"; |
|
|
|
@ -56,12 +54,11 @@ const Address = ({ |
|
|
|
|
}) => { |
|
|
|
|
const [addressFields, setAddressFields] = useState({}); |
|
|
|
|
const [mapAddress, setMapAddress] = useState(null); |
|
|
|
|
const colorScheme = Appearance.getColorScheme(); |
|
|
|
|
const navigation = useNavigation(); |
|
|
|
|
|
|
|
|
|
const profilePage = React.useMemo(() => { |
|
|
|
|
return route.params?.type === "profile"; |
|
|
|
|
}); |
|
|
|
|
},[route]); |
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
|
getProvince(); |
|
|
|
|