fix: Broken embed in incognito of chrome
This commit is contained in:
parent
65d1a34e39
commit
a57085cf64
|
@ -4,6 +4,7 @@ import dayjs from "@calcom/dayjs";
|
||||||
import { Calendar } from "@calcom/features/calendars/weeklyview";
|
import { Calendar } from "@calcom/features/calendars/weeklyview";
|
||||||
import type { CalendarEvent } from "@calcom/features/calendars/weeklyview/types/events";
|
import type { CalendarEvent } from "@calcom/features/calendars/weeklyview/types/events";
|
||||||
import type { CalendarAvailableTimeslots } from "@calcom/features/calendars/weeklyview/types/state";
|
import type { CalendarAvailableTimeslots } from "@calcom/features/calendars/weeklyview/types/state";
|
||||||
|
import { localStorage } from "@calcom/lib/webstorage";
|
||||||
|
|
||||||
import { useBookerStore } from "../store";
|
import { useBookerStore } from "../store";
|
||||||
import { useEvent, useScheduleForEvent } from "../utils/event";
|
import { useEvent, useScheduleForEvent } from "../utils/event";
|
||||||
|
|
|
@ -8,6 +8,7 @@ import { useIsEmbed } from "@calcom/embed-core/embed-iframe";
|
||||||
import { useTimePreferences } from "@calcom/features/bookings/lib";
|
import { useTimePreferences } from "@calcom/features/bookings/lib";
|
||||||
import { classNames } from "@calcom/lib";
|
import { classNames } from "@calcom/lib";
|
||||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||||
|
import { localStorage } from "@calcom/lib/webstorage";
|
||||||
import { trpc } from "@calcom/trpc/react";
|
import { trpc } from "@calcom/trpc/react";
|
||||||
import { Button, Switch } from "@calcom/ui";
|
import { Button, Switch } from "@calcom/ui";
|
||||||
import { Settings } from "@calcom/ui/components/icon";
|
import { Settings } from "@calcom/ui/components/icon";
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
|
|
||||||
|
import { localStorage } from "@calcom/lib/webstorage";
|
||||||
|
|
||||||
export interface HasExternalId {
|
export interface HasExternalId {
|
||||||
externalId: string;
|
externalId: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@ import dayjs from "@calcom/dayjs";
|
||||||
import type { Slots } from "@calcom/features/schedules";
|
import type { Slots } from "@calcom/features/schedules";
|
||||||
import { classNames } from "@calcom/lib";
|
import { classNames } from "@calcom/lib";
|
||||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||||
|
import { localStorage } from "@calcom/lib/webstorage";
|
||||||
import { Button, SkeletonText } from "@calcom/ui";
|
import { Button, SkeletonText } from "@calcom/ui";
|
||||||
|
|
||||||
import { useBookerStore } from "../Booker/store";
|
import { useBookerStore } from "../Booker/store";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user