Scheduling infrastructure for absolutely everyone.
Fixed circular dependecy that was messing with website
zomars2fd606c38e6b
diff --git a/packages/app-store/_components/AppCard.tsx b/packages/app-store/_components/AppCard.tsxindex c935b5cc801..3844b945853 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.tsxsimilarity index 93%rename from apps/web/components/apps/OmniInstallAppButton.tsxrename to packages/app-store/_components/OmniInstallAppButton.tsxindex 7f887b55500..4e9a4e7fb9f 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