diff --git a/components/Connectors/Connectors.tsx b/components/Connectors/Connectors.tsx index efa7912..97cbca3 100644 --- a/components/Connectors/Connectors.tsx +++ b/components/Connectors/Connectors.tsx @@ -3,14 +3,18 @@ import { FaGoogleDrive, FaDropbox } from "react-icons/fa"; import { ConnectionBtn } from './ConnectionBtn'; import { SiAwslambda } from 'react-icons/si'; +const isCloud = process.env.DCUP_ENV === 'CLOUD'; + export const Connectors = async () => { const connectors = [ - { - id: 'google-drive', - name: 'Google Drive', - icon: , - description: 'Connect your Google Drive to access documents and files', - }, + ...(!isCloud ? [ + { + id: 'google-drive', + name: 'Google Drive', + icon: , + description: 'Connect your Google Drive to access documents and files', + }, + ] : []), { id: "dropbox", name: "Dropbox",