Update apps/web/components/eventtype/EventLimitsTab.tsx

Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
This commit is contained in:
Peer Richelsen 2022-11-11 13:49:26 +00:00 committed by GitHub
parent 0b127bc922
commit 778c4cb332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ type EventLimitType = {
eventType: Pick<EventTypeSetupInfered, "eventType">;
};
export const EventLimitsTab = (props: EventLimitType) => {
export const EventLimitsTab = (props: {eventType: Pick<EventTypeSetupInfered, "eventType">}) => {
const { t } = useLocale();
const formMethods = useFormContext<FormValues>();
const { eventType } = props.eventType;