diff --git a/packages/app-store/_components/AppCard.tsx b/packages/app-store/_components/AppCard.tsx index c935b5cc80..3844b94585 100644 --- a/packages/app-store/_components/AppCard.tsx +++ b/packages/app-store/_components/AppCard.tsx @@ -3,10 +3,10 @@ import Link from "next/link"; import { RouterOutputs } from "@calcom/trpc/react"; import { Switch } from "@calcom/ui"; -import OmniInstallAppButton from "@calcom/web/components/apps/OmniInstallAppButton"; import { SetAppDataGeneric } from "../EventTypeAppContext"; import { eventTypeAppCardZod } from "../eventTypeAppCardZod"; +import OmniInstallAppButton from "./OmniInstallAppButton"; export default function AppCard({ app, diff --git a/apps/web/components/apps/OmniInstallAppButton.tsx b/packages/app-store/_components/OmniInstallAppButton.tsx similarity index 93% rename from apps/web/components/apps/OmniInstallAppButton.tsx rename to packages/app-store/_components/OmniInstallAppButton.tsx index 7f887b5550..4e9a4e7fb9 100644 --- a/apps/web/components/apps/OmniInstallAppButton.tsx +++ b/packages/app-store/_components/OmniInstallAppButton.tsx @@ -1,11 +1,12 @@ -import useAddAppMutation from "@calcom/app-store/_utils/useAddAppMutation"; -import { InstallAppButton } from "@calcom/app-store/components"; import { classNames } from "@calcom/lib"; import useApp from "@calcom/lib/hooks/useApp"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { trpc } from "@calcom/trpc/react"; import { Button, Icon, showToast } from "@calcom/ui"; +import useAddAppMutation from "../_utils/useAddAppMutation"; +import { InstallAppButton } from "../components"; + /** * Use this component to allow installing an app from anywhere on the app. * Use of this component requires you to remove custom InstallAppButtonComponent so that it can manage the redirection itself