refactor: event limits web wrapper (#16679)
* chore: EventTypeWebWrapper base pr * fixup! chore: EventTypeWebWrapper base pr * fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base * wip * fix: error * Event type atom wrapper handles app dir * fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base * fixup! fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base * remove console log * review comments * refactor: event limits tab for atoms * fixup! review comments --------- Co-authored-by: Morgan Vernay <[email protected]> Co-authored-by: Morgan <[email protected]>
This commit is contained in:
3 files changed
+12
-4
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { EventLimitsTab } from "@calcom/features/eventtypes/components/tabs/limits/EventLimitsTab";
|
||||
import type { EventLimitsTabProps } from "@calcom/features/eventtypes/components/tabs/limits/EventLimitsTab";
|
||||
|
||||
const EventLimitsTabWebWrapper = (props: EventLimitsTabProps) => {
|
||||
return <EventLimitsTab {...props} />;
|
||||
};
|
||||
|
||||
export default EventLimitsTabWebWrapper;
|
||||
@@ -50,9 +50,7 @@ const EventTeamAssignmentTab = dynamic(() =>
|
||||
|
||||
const EventLimitsTab = dynamic(() =>
|
||||
// import web wrapper when it's ready
|
||||
import("@calcom/features/eventtypes/components/tabs/limits/EventLimitsTab").then(
|
||||
(mod) => mod.EventLimitsTab
|
||||
)
|
||||
import("./EventLimitsTabWebWrapper").then((mod) => mod)
|
||||
);
|
||||
|
||||
const EventAdvancedTab = dynamic(() =>
|
||||
|
||||
Reference in new issue
Block a user