diff --git a/Frontend/src/App.jsx b/Frontend/src/App.jsx index 464137a..b2f0bab 100644 --- a/Frontend/src/App.jsx +++ b/Frontend/src/App.jsx @@ -38,7 +38,7 @@ function App() { <>
- Your crops and their Health! -
Our descriptive dashboards give insights into your crop's - health and keeps track of your burning expenses + health and keeps track of your burning expenses.
{
Predict the possible crop diseases based on their shown - symptoms + symptoms.
{
Based on previous season's crop and used pertilizers and pesticides, plan what crops would best suit the present state - of your soil + of your soil.
{ const handleRegisteration = async (event) => { event.preventDefault(); - let userRole; - if (roleElement.current.value == "Student") { - userRole = "user"; - } else { - userRole = "mentor"; - } + const user = { name: firstNameElement.current.value + " " + lastNameElement.current.value, email: emailElement.current.value, password: passwordElement.current.value, - role: userRole, }; event.preventDefault(); @@ -45,7 +39,6 @@ const SignupPage = () => { lastNameElement.current.value = ""; emailElement.current.value = ""; passwordElement.current.value = ""; - roleElement.current.value = ""; if (data.success == true) { navigate("/user/login"); @@ -72,11 +65,9 @@ const SignupPage = () => {- Welcome to Crop Compass. -
+Welcome to Crop Compass.
- Please register your new account. + Please register your new account.