fix(results): crash when variable is object

This commit is contained in:
Baptiste Arnaud
2022-08-22 18:48:05 +02:00
parent 59281426b0
commit 02bb7f5ea7
4 changed files with 9 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ const typebotContext = createContext<{
linkedBotQueue: LinkedTypebotQueue
isLoading: boolean
setCurrentTypebotId: (id: string) => void
updateVariableValue: (variableId: string, value: string) => void
updateVariableValue: (variableId: string, value: string | number) => void
createEdge: (edge: Edge) => void
injectLinkedTypebot: (typebot: Typebot | PublicTypebot) => LinkedTypebot
popEdgeIdFromLinkedTypebotQueue: () => void