mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-19 21:04:33 +08:00
parent
47fe4e4199
commit
34fe006515
@ -9,12 +9,5 @@ export const resetSessionState = (state: SessionState): SessionState => ({
|
||||
typebotsQueue: state.typebotsQueue.map((queueItem) => ({
|
||||
...queueItem,
|
||||
answers: [],
|
||||
typebot: {
|
||||
...queueItem.typebot,
|
||||
variables: queueItem.typebot.variables.map((variable) => ({
|
||||
...variable,
|
||||
value: undefined,
|
||||
})),
|
||||
},
|
||||
})),
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user