2
0

feat(embed): 🎨 Update instructions for 2.2.0

This commit is contained in:
Baptiste Arnaud
2022-03-14 15:09:11 +01:00
parent 5a2df9fe72
commit 69701d12b9
4 changed files with 16 additions and 10 deletions

View File

@ -44,11 +44,11 @@ export const NotionModal = ({
<Input
pr="4.5rem"
type={'text'}
defaultValue={`https://bot.typebot.io/${publicId}`}
defaultValue={`${process.env.NEXT_PUBLIC_VIEWER_URL}/${publicId}`}
/>
<InputRightElement width="4.5rem">
<CopyButton
textToCopy={`https://bot.typebot.io/${publicId}`}
textToCopy={`${process.env.NEXT_PUBLIC_VIEWER_URL}/${publicId}`}
/>
</InputRightElement>
</InputGroup>