diff --git a/client/src/components/presentational/returnUserForm.jsx b/client/src/components/presentational/returnUserForm.jsx
index bde529317..fe177a241 100644
--- a/client/src/components/presentational/returnUserForm.jsx
+++ b/client/src/components/presentational/returnUserForm.jsx
@@ -1,49 +1,66 @@
import React from 'react';
+import { Box, Button, FormControl, TextField, Typography } from '@mui/material';
const ReturnUserForm = (props) => {
return (
-
+
+
+
);
};
export default ReturnUserForm;
diff --git a/client/src/pages/CheckInForm.jsx b/client/src/pages/CheckInForm.jsx
index 6b143a4b6..4c8ba4f72 100644
--- a/client/src/pages/CheckInForm.jsx
+++ b/client/src/pages/CheckInForm.jsx
@@ -427,6 +427,12 @@ const CheckInForm = (props) => {
.catch((err) => {
console.log(err);
setIsLoading(false);
+
+ // Fixes for error messages
+ setUser(false);
+ setIsError(true);
+ setErrorMessage('Invalid email.');
+ // end
});
} catch (error) {
console.log(error);
diff --git a/client/src/sass/CheckIn.scss b/client/src/sass/CheckIn.scss
index 9317b3e86..ccd012f65 100644
--- a/client/src/sass/CheckIn.scss
+++ b/client/src/sass/CheckIn.scss
@@ -23,6 +23,12 @@
min-height: 30vh;
}
+.error {
+ width: 300px;
+ color: red;
+ height: 20px;
+}
+
.form-check-in {
width: 300px;
max-width: 300px;