fix: Errors due to namespacing of embed (#13637)

This commit is contained in:
Hariom Balhara
2024-02-12 07:46:08 -07:00
committed by GitHub
parent 26bacb6c8e
commit 7cffb30daa
3 changed files with 2 additions and 6 deletions
@@ -352,7 +352,7 @@ function EventTypeSingleLayout({
StartIcon={Code}
color="secondary"
variant="icon"
namespace={eventType.slug}
namespace=""
tooltip={t("embed")}
tooltipSide="bottom"
tooltipOffset={4}
@@ -539,7 +539,7 @@ export const EventTypeList = ({
{!isManagedEventType && (
<DropdownMenuItem className="outline-none">
<EventTypeEmbedButton
namespace={type.slug}
namespace=""
as={DropdownItem}
type="button"
StartIcon={Code}
-4
View File
@@ -439,10 +439,6 @@ class CalApi {
elementOrSelector: string | HTMLElement;
config?: PrefillAndIframeAttrsConfig;
}) {
if (this.cal.inlineEl) {
console.warn("Inline embed already exists. Ignoring this call");
return;
}
// eslint-disable-next-line prefer-rest-params
validate(arguments[0], {
required: true,