build: add pnpm
This commit is contained in:
@ -3,6 +3,7 @@ import { TypebotViewer } from 'bot-engine'
|
||||
import { useTypebot } from 'contexts/TypebotContext/TypebotContext'
|
||||
import React from 'react'
|
||||
import { parseTypebotToPublicTypebot } from 'services/publicTypebot'
|
||||
import { getViewerUrl } from 'utils'
|
||||
import { ThemeSideMenu } from '../../components/theme/ThemeSideMenu'
|
||||
|
||||
export const ThemeContent = () => {
|
||||
@ -12,7 +13,12 @@ export const ThemeContent = () => {
|
||||
<Flex h="full" w="full">
|
||||
<ThemeSideMenu />
|
||||
<Flex flex="1">
|
||||
{publicTypebot && <TypebotViewer typebot={publicTypebot} />}
|
||||
{publicTypebot && (
|
||||
<TypebotViewer
|
||||
apiHost={getViewerUrl({ isBuilder: true })}
|
||||
typebot={publicTypebot}
|
||||
/>
|
||||
)}
|
||||
</Flex>
|
||||
</Flex>
|
||||
)
|
||||
|
Reference in New Issue
Block a user