"use client"; import { useBookerUrl } from "@calcom/features/bookings/hooks/useBookerUrl"; import { APP_NAME, WEBAPP_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import type { RouterOutputs } from "@calcom/trpc/react"; import { Avatar } from "@calcom/ui/components/avatar"; import { EmptyScreen } from "@calcom/ui/components/empty-screen"; import { Frame, FrameDescription, FrameHeader, FramePanel, FrameTitle } from "@coss/ui/components/frame"; import { useRouter } from "next/navigation"; import React from "react"; import { CreateNewWebhookButton, WebhookListItem } from "../components"; type WebhooksByViewer = RouterOutputs["viewer"]["webhook"]["getByViewer"]; type Props = { data: WebhooksByViewer; }; const WebhooksView = ({ data }: Props) => { return (