Fixed circular dependecy that was messing with website

pull/5417/head
zomars 2022-11-26 06:54:42 -07:00
parent c066a0cba9
commit 2fd606c38e
2 changed files with 4 additions and 3 deletions

View File

@ -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,

View File

@ -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