diff --git a/src/app/screens/PluviometerSharingDataScreen.js b/src/app/screens/PluviometerSharingDataScreen.js index 09f0cea..7c7218a 100644 --- a/src/app/screens/PluviometerSharingDataScreen.js +++ b/src/app/screens/PluviometerSharingDataScreen.js @@ -20,7 +20,7 @@ const validationSchema = Yup.object().shape({ images: Yup.array().min(1, "Por favor, selecione uma imagem."), }); -function PluviometerSharingDataScreen() { +function PluviometerSharingDataScreen(props) { const location = useLocation(); var day = new Date().getDate(); diff --git a/src/app/screens/RainSharingDataScreen.js b/src/app/screens/RainSharingDataScreen.js index 7426faf..9ebd235 100644 --- a/src/app/screens/RainSharingDataScreen.js +++ b/src/app/screens/RainSharingDataScreen.js @@ -23,7 +23,7 @@ const validationSchema = Yup.object().shape({ const borderWidth = 4; -function RainSharingDataScreen() { +function RainSharingDataScreen(props) { const [rain, setRain] = useState(0); const location = useLocation(); diff --git a/src/app/screens/SharingFloodZonesScreen.js b/src/app/screens/SharingFloodZonesScreen.js index 52bd538..3737e09 100644 --- a/src/app/screens/SharingFloodZonesScreen.js +++ b/src/app/screens/SharingFloodZonesScreen.js @@ -32,7 +32,7 @@ const validationSchema = Yup.object().shape({ const screen_width = Dimensions.get("window").width; const borderWidth = 3; -function SharingFloodZonesScreen() { +function SharingFloodZonesScreen(props) { const [passable, setPassable] = useState(0); const location = useLocation();