diff --git a/apps/app/components/popup/index.tsx b/apps/app/components/popup/index.tsx index 9c18eb916..48a4348c6 100644 --- a/apps/app/components/popup/index.tsx +++ b/apps/app/components/popup/index.tsx @@ -3,6 +3,8 @@ import React, { useRef, useState } from "react"; import Image from "next/image"; import { useRouter } from "next/router"; +import useSWR, { mutate } from "swr"; + // services import workspaceService from "services/workspace.service"; // hooks @@ -10,10 +12,11 @@ import useToast from "hooks/use-toast"; // ui import { Button, Loader } from "components/ui"; // icons -import GithubLogo from "public/logos/github-black.png"; -import useSWR, { mutate } from "swr"; -import { APP_INTEGRATIONS, WORKSPACE_INTEGRATIONS } from "constants/fetch-keys"; +import GithubLogo from "public/logos/github-square.png"; +// types import { IWorkspaceIntegrations } from "types"; +// fetch-keys +import { WORKSPACE_INTEGRATIONS } from "constants/fetch-keys"; const OAuthPopUp = ({ integration }: any) => { const [deletingIntegration, setDeletingIntegration] = useState(false); @@ -97,28 +100,28 @@ const OAuthPopUp = ({ integration }: any) => { ); return ( -
+
{workspaceIntegrations
? isInstalled
? "Activate GitHub integrations on individual projects to sync with specific repositories."
diff --git a/apps/app/components/project/single-integration-card.tsx b/apps/app/components/project/single-integration-card.tsx
index 6113b402f..42220647b 100644
--- a/apps/app/components/project/single-integration-card.tsx
+++ b/apps/app/components/project/single-integration-card.tsx
@@ -87,7 +87,7 @@ export const SingleIntegration: React.FC