import { FC } from "react"; import Link from "next/link"; import { Button } from "@plane/ui"; import { useMobxStore } from "lib/mobx/store-provider"; import { RootStore } from "store/root"; import { observer } from "mobx-react-lite"; // components import { WebhooksListItem } from "./webhooks-list-item"; interface IWebHookLists { workspaceSlug: string; } export const WebhookLists: FC = observer((props) => { const { workspaceSlug } = props; const { webhook: { webhooks }, }: RootStore = useMobxStore(); return ( <>
Webhooks
{Object.values(webhooks).map((item) => ( ))}
); });