We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bd5439 commit 8604346Copy full SHA for 8604346
1 file changed
packages/flower-core/src/FlowerCoreStateFunctions.ts
@@ -199,7 +199,10 @@ export const FlowerCoreReducers: ReducersFunctions = {
199
history,
200
nodes: generateNodes(payload.nodes),
201
nextRules: makeObjectRules(payload.nodes),
202
- data: Object.keys(payload.initialData).length === 0 ? (state.data ?? {}) : payload.initialData
+ data:
203
+ Object.keys(payload.initialData).length === 0
204
+ ? state.data ?? {}
205
+ : payload.initialData
206
})
207
},
208
// TODO usato solo da flower su vscode
0 commit comments