2
0

feat(db): 🗃️ Remove duplicate fields in PublicTypebot

This commit is contained in:
Baptiste Arnaud
2022-06-04 11:05:46 +02:00
parent 8ec117aee4
commit ad32ae02ef
11 changed files with 29 additions and 47 deletions

View File

@ -9,7 +9,7 @@ import { createResult, updateResult } from '../services/result'
import { ErrorPage } from './ErrorPage'
export type TypebotPageProps = {
typebot?: PublicTypebot
typebot?: PublicTypebot & { typebot: { name: string } }
url: string
isIE: boolean
customHeadCode: string | null
@ -97,7 +97,7 @@ export const TypebotPage = ({
<div style={{ height: '100vh' }}>
<SEO
url={url}
typebotName={typebot.name}
typebotName={typebot.typebot.name}
metadata={typebot.settings.metadata}
/>
{showTypebot && (