Scheduling infrastructure for absolutely everyone.
Theming shouldnt depend on plan now as everyone is pro now (#5976)
Hariom Balhara3080b47aec6b
diff --git a/packages/embeds/embed-core/src/embed-iframe.ts b/packages/embeds/embed-core/src/embed-iframe.tsindex 5c8964bfc71..398fdd68677 100644--- a/packages/embeds/embed-core/src/embed-iframe.ts+++ b/packages/embeds/embed-core/src/embed-iframe.ts@@ -14,7 +14,6 @@ declare global {embedStore: any;};CalComPageStatus: string;- CalComPlan: string;isEmbed: () => boolean;resetEmbedStatus: () => void;getEmbedNamespace: () => string | null;@@ -252,14 +251,6 @@ export const methods = {log("Method: ui called", uiConfig);const stylesConfig = uiConfig.styles;- // In case where parent gives instructions before CalComPlan is set.- // This is easily possible as React takes time to initialize and render components where this variable is set.- if (!window?.CalComPlan) {- return requestAnimationFrame(() => {- style(uiConfig);- });- }-// body can't be styled using React state hook as it is generated by _document.tsx which doesn't support hooks.if (stylesConfig?.body?.background) {document.body.style.background = stylesConfig.body.background as string;