Skip to content

Commit

Permalink
fixes #6008
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Aug 9, 2023
1 parent 09c0de0 commit 55dde2a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/Components/Facility/DoctorCapacity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,19 @@ export const DoctorCapacity = (props: DoctorCapacityProps) => {
</div>
<div className="mt-2 flex w-full flex-row flex-wrap gap-2 sm:w-auto">
{!isLastOptionType && headerText === "Add Doctor Capacity" && (
<ButtonV2 id="save-and-exit" onClick={handleSubmit}>
<ButtonV2
id="save-and-exit"
onClick={handleSubmit}
className="w-full"
>
Save Doctor Capacity
</ButtonV2>
)}
<ButtonV2 id="doctor-save" onClick={handleSubmit}>
<ButtonV2
id="doctor-save"
onClick={handleSubmit}
className="w-full"
>
{buttonText}
</ButtonV2>
</div>
Expand Down

0 comments on commit 55dde2a

Please sign in to comment.