Fixed circular dependecy that was messing with website
This commit is contained in:
@@ -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,
|
||||
|
||||
+3
-2
@@ -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
|
||||
Reference in New Issue
Block a user