Skip to content

Commit

Permalink
feat: Update spacing between first and last name
Browse files Browse the repository at this point in the history
  • Loading branch information
RudraPatel2003 committed Oct 24, 2024
1 parent 2a5f4ca commit f57bb21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/form/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export default function Form() {

const onSubmit = async (data: GeneralInformationFormValues) => {
setError("root", { message: "" });
// eslint-disable-next-line no-console
console.log(data);
};

Expand Down Expand Up @@ -154,7 +155,7 @@ export default function Form() {
display: "flex",
flexDirection: "row",
width: "100%",
justifyContent: "space-between",
gap: 2,
}}
>
<Controller
Expand All @@ -167,6 +168,7 @@ export default function Form() {
helperText={errors.firstName?.message}
label="First Name"
variant="outlined"
sx={{ width: "100%" }}
/>
)}
/>
Expand All @@ -181,6 +183,7 @@ export default function Form() {
helperText={errors.lastName?.message}
label="Last Name"
variant="outlined"
sx={{ width: "100%" }}
/>
)}
/>
Expand Down

0 comments on commit f57bb21

Please sign in to comment.