import { Flex, Heading, Stack } from '@chakra-ui/react' import { useTypebot } from 'contexts/TypebotContext' import React from 'react' import { parseDefaultPublicId } from 'services/typebots' import { EditableUrl } from './EditableUrl' export const ShareContent = () => { const { typebot, updatePublicId } = useTypebot() const handlePublicIdChange = (publicId: string) => { if (publicId === typebot?.publicId) return updatePublicId(publicId) } return ( Your typebot link {typebot && ( )} Embed your typebot ) }