Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2023-113
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2023-113
2023-113
Commits
2d1412aa
Commit
2d1412aa
authored
May 25, 2023
by
Madusanka-w
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
weather data input page
parent
e2287506
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
Weather Analyzer and Crop Reccomender-IT20151874/RP-MobileAPP-FE/components/weatherCrop/WeatherData.js
...874/RP-MobileAPP-FE/components/weatherCrop/WeatherData.js
+1
-12
No files found.
Weather Analyzer and Crop Reccomender-IT20151874/RP-MobileAPP-FE/components/weatherCrop/WeatherData.js
View file @
2d1412aa
...
...
@@ -7,18 +7,7 @@ const WeatherData = () => {
const
[
temperature
,
setTemperature
]
=
useState
(
''
);
const
navigation
=
useNavigation
();
const
handleSaveData
=
()
=>
{
const
userInputs
=
{
temperature
:
parseFloat
(
temperature
),
humidity
:
parseFloat
(
humidity
)
}
console
.
log
(
"
user
"
,
userInputs
);
navigation
.
navigate
(
"
Crops
"
,{
userInputs
})
};
return
(
<
ImageBackground
source
=
{
require
(
'
../../assets/weatherinput.jpeg
'
)}
// Replace with the path to your background image
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment