fix: cache build error on CI (#25958)
* fix(slots): hide out-of-office slots across timezones * update * fix build error
This commit is contained in:
@@ -15,7 +15,9 @@ import { APP_NAME, COMPANY_NAME, SUPPORT_MAIL_ADDRESS, WEBAPP_URL } from "@calco
|
||||
import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { trpc } from "@calcom/trpc/react";
|
||||
import type { AppRouter } from "@calcom/trpc/types/server/routers/_app";
|
||||
import type { App as AppType } from "@calcom/types/App";
|
||||
import type { inferRouterOutputs } from "@trpc/server";
|
||||
import classNames from "@calcom/ui/classNames";
|
||||
import { Badge } from "@calcom/ui/components/badge";
|
||||
import { Button } from "@calcom/ui/components/button";
|
||||
@@ -145,9 +147,10 @@ export const AppPage = ({
|
||||
useGrouping: false,
|
||||
}).format(price);
|
||||
|
||||
const [existingCredentials, setExistingCredentials] = useState<
|
||||
NonNullable<typeof appDbQuery.data>["credentials"]
|
||||
>([]);
|
||||
type RouterOutput = inferRouterOutputs<AppRouter>;
|
||||
type Credentials = RouterOutput["viewer"]["apps"]["appCredentialsByType"]["credentials"];
|
||||
|
||||
const [existingCredentials, setExistingCredentials] = useState<Credentials>([]);
|
||||
|
||||
/**
|
||||
* Marks whether the app is installed for all possible teams and the user.
|
||||
|
||||
Reference in New Issue
Block a user