fix: add fit to height (#4372)

This commit is contained in:
Udit Takkar authored and GitHub committed 2022-09-12 13:30:05 +00:00
1 parent 5f3e9efa6d
commit 869ebb092b
2 files changed
+2

No files matched your search

@@ -153,6 +153,7 @@ export const EventLimitsTab = (props: Pick<EventTypeSetupInfered, "eventType">)
defaultValue={periodType?.type !== "UNLIMITED" ? "ROLLING" : "UNLIMITED"}
render={({ field: { value } }) => (
<Switch
fitToHeight={true}
checked={value !== "UNLIMITED"}
onCheckedChange={(bool) =>
formMethods.setValue("periodType", bool ? "ROLLING" : "UNLIMITED")
@@ -41,6 +41,7 @@ export default function RecurringEventController({
<div className="flex space-x-3 ">
<Switch
name="requireConfirmation"
fitToHeight={true}
checked={recurringEventState !== null}
onCheckedChange={(e) => {
if (!e) {