From 9617c5c034a650bb0b1113781b4a6e7ca19b0193 Mon Sep 17 00:00:00 2001
From: Michael Hunteman <michael@huntm.net>
Date: Tue, 19 Mar 2024 18:20:20 -0700
Subject: Fix party list on mobile

---
 src/components/RsvpForm.tsx | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'src/components/RsvpForm.tsx')

diff --git a/src/components/RsvpForm.tsx b/src/components/RsvpForm.tsx
index 7173f32..bde5280 100644
--- a/src/components/RsvpForm.tsx
+++ b/src/components/RsvpForm.tsx
@@ -77,9 +77,6 @@ function RsvpForm() {
         )
       );
       setPreviousPartySize(partySize);
-    } else {
-      // TODO: use react-hook-form setError
-      console.log('error');
     }
   };
 
@@ -131,6 +128,7 @@ function RsvpForm() {
         <Grid item xs={12} md={6} lg={6}>
           <TextField
             label="Email"
+            type="email"
             variant="outlined"
             fullWidth
             error={!!errors.email}
@@ -178,7 +176,7 @@ function RsvpForm() {
         {fields.map((field, index) => {
           return (
             <Grid container item columnSpacing={2} key={field.id}>
-              <Grid item xs={12} md={6} lg={6}>
+              <Grid item xs={6}>
                 <TextField
                   label="First Name"
                   variant="outlined"
@@ -191,7 +189,7 @@ function RsvpForm() {
                   })}
                 />
               </Grid>
-              <Grid item xs={12} md={6} lg={6}>
+              <Grid item xs={6}>
                 <TextField
                   label="Last Name"
                   variant="outlined"
-- 
cgit v1.2.3

