fix(editor): 🐛 Throttle incoming typebot to avoid overwrite bug
This commit is contained in:
@ -92,7 +92,7 @@ const reducer = <T>(state: State<T>, action: Action<T>) => {
|
||||
// )
|
||||
return {
|
||||
past: [...past, present].filter(isDefined),
|
||||
present: newPresent,
|
||||
present: { ...newPresent, updatedAt: new Date() },
|
||||
future: [],
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user