import { Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, Stack, Text, Image, Button, ModalFooter, Flex, } from '@chakra-ui/react' import { useWorkspace } from '@/features/workspace/WorkspaceProvider' import Link from 'next/link' import React from 'react' import { AlertInfo } from '@/components/AlertInfo' import { GoogleLogo } from '@/components/GoogleLogo' import { getGoogleSheetsConsentScreenUrlQuery } from '../queries/getGoogleSheetsConsentScreenUrlQuery' type Props = { isOpen: boolean blockId: string onClose: () => void } export const GoogleSheetConnectModal = ({ blockId, isOpen, onClose, }: Props) => { const { workspace } = useWorkspace() return ( Connect Spreadsheets Typebot needs access to Google Drive in order to list all your spreadsheets. It also needs access to your spreadsheets in order to fetch or inject data in it. Make sure to check all the permissions so that the integration works as expected: Google Spreadsheets checkboxes ) }