diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/.env.development | 1 | ||||
-rw-r--r-- | client/src/components/RsvpForm.tsx | 36 |
2 files changed, 19 insertions, 18 deletions
diff --git a/client/.env.development b/client/.env.development new file mode 100644 index 0000000..0dd1e86 --- /dev/null +++ b/client/.env.development @@ -0,0 +1 @@ +VITE_BASE_URL=http://192.168.1.12:8080/api/ diff --git a/client/src/components/RsvpForm.tsx b/client/src/components/RsvpForm.tsx index 84b05e0..b2af975 100644 --- a/client/src/components/RsvpForm.tsx +++ b/client/src/components/RsvpForm.tsx @@ -161,6 +161,24 @@ function RsvpForm() { </FormControl> </div> </Grid> + <Grid item xs={6}> + <TextField + label="First Name" + variant="outlined" + fullWidth + inputProps={{ readOnly: true }} + {...register('firstName')} + /> + </Grid> + <Grid item xs={6}> + <TextField + label="Last Name" + variant="outlined" + fullWidth + inputProps={{ readOnly: true }} + {...register('lastName')} + /> + </Grid> <Grid item xs={8}> <TextField label="Email" @@ -214,24 +232,6 @@ function RsvpForm() { {...register('message')} /> </Grid> - <Grid item xs={6}> - <TextField - label="First Name" - variant="outlined" - fullWidth - inputProps={{ readOnly: true }} - {...register('firstName')} - /> - </Grid> - <Grid item xs={6}> - <TextField - label="Last Name" - variant="outlined" - fullWidth - inputProps={{ readOnly: true }} - {...register('lastName')} - /> - </Grid> {fields.map((field, index) => { return ( <Grid |