import { useState } from "react"; import Button from "@calcom/ui/Button"; import { ConfirmDialog } from "./confirmDialog"; interface IWipeMyCalActionButtonProps { trpc: any; } const WipeMyCalActionButton = (props: IWipeMyCalActionButtonProps) => { const { trpc } = props; const [openDialog, setOpenDialog] = useState(false); const { isSuccess, isLoading, data } = trpc.useQuery(["viewer.integrations"]); return (