import { Trans } from "next-i18next"; import Link from "next/link"; import { CAL_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { trpc } from "@calcom/trpc"; import { SkeletonText } from "@calcom/ui"; import { FiAlertCircle } from "@calcom/ui/components/icon"; const ExistingGoogleCal = () => { const { t } = useLocale(); const { isLoading, data: hasGoogleCal } = trpc.viewer.appsRouter.checkForGCal.useQuery(); return (