refactor: event recurring web wrapper (#16764)

This commit is contained in:
Somay Chauhan authored and GitHub committed 2024-09-30 08:11:13 +00:00
1 parent cd09a56491
commit 8431cd2ef8
3 files changed
+13 -5

No files matched your search

@@ -1,9 +1,9 @@
import type { EventTypeSetupProps } from "@calcom/features/eventtypes/lib/types";
import type { EventRecurringWebWrapperProps } from "@calcom/atoms/event-types/wrappers/EventRecurringWebWrapper";
import getPaymentAppData from "@calcom/lib/getPaymentAppData";
import RecurringEventController from "./RecurringEventController";
export const EventRecurringTab = ({ eventType }: Pick<EventTypeSetupProps, "eventType">) => {
export const EventRecurringTab = ({ eventType }: EventRecurringWebWrapperProps) => {
const paymentAppData = getPaymentAppData(eventType);
const requirePayment = paymentAppData.price > 0;