Skip to content

Commit

Permalink
remove extra space (#6215)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu1902 authored Sep 5, 2023
1 parent b0c61dc commit 14f6ff1
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/Components/Facility/TriageForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,20 +283,20 @@ export const TriageForm = (props: triageFormProps) => {
handleSubmit();
}}
>
<div className="max-w-[250px] pb-4">
<DateFormField
required
name="entry_date"
label="Entry Date"
value={state.form.entry_date}
disableFuture
onChange={handleFormFieldChange}
position="LEFT"
placeholder="Entry Date"
error={state.errors.entry_date}
/>
</div>
<div className="mt-2 grid grid-cols-1 gap-4 md:grid-cols-2">
<div className="pb-4">
<DateFormField
required
name="entry_date"
label="Entry Date"
value={state.form.entry_date}
disableFuture
onChange={handleFormFieldChange}
position="LEFT"
placeholder="Entry Date"
error={state.errors.entry_date}
/>
</div>
<div>
<TextFormField
name="num_patients_visited"
Expand Down Expand Up @@ -348,7 +348,7 @@ export const TriageForm = (props: triageFormProps) => {
/>
</div>
</div>
<div className="mt-4 flex flex-col justify-between gap-2 md:flex-row">
<div className="mt-4 flex flex-col justify-end gap-2 md:flex-row">
<Cancel onClick={() => goBack()} />
<Submit label={buttonText} />
</div>
Expand Down

0 comments on commit 14f6ff1

Please sign in to comment.