// hooks import useIntegrationPopup from "hooks/use-integration-popup"; // ui import { Button } from "@plane/ui"; // types import { IWorkspaceIntegration } from "types"; type Props = { workspaceIntegration: false | IWorkspaceIntegration | undefined; provider: string | undefined; }; export const GithubAuth: React.FC = ({ workspaceIntegration, provider }) => { const { startAuth, isConnecting } = useIntegrationPopup(provider); return (
{workspaceIntegration && workspaceIntegration?.id ? ( ) : ( )}
); };