@ -43,10 +43,9 @@ const AppNavigator = () => (
tabBarButton: () => (
<NewListingButton
onPress={() =>
navigation.reset({
index: 0,
key: "RainSharingData",
routes: [{ name: "SharingData" }],
navigation.navigate("SharingData",{
screen:"Voltar",
initial: false,
})
}
/>
@ -64,7 +64,6 @@ function PluviometerSharingDataScreen(props) {
icon: "success",
type: "success",
});
props.navigation.goBack();
props.navigation.navigate("Home");
}}
validationSchema={validationSchema}
@ -41,12 +41,6 @@ function RainSharingDataScreen(props) {
context.defaultLocation();
}, []);
console.log(props.route)
/*useEffect(() => {
!isFocused &&
}, [isFocused])*/
const location = context.eventCoordinates;
const address = context.eventLocation;
@ -72,7 +72,6 @@ function RiverFloodSharingDataScreen(props) {
@ -68,7 +68,6 @@ function SharingFloodZonesScreen(props) {