Refactor next part, updated Form to the new Composer
This commit is contained in:
src
@ -64,8 +64,6 @@
|
||||
}
|
||||
);
|
||||
const machineService = interpret(machine).onTransition((state) => {
|
||||
console.log(`${composer.id} State transitioned to: ${state.value}`);
|
||||
console.log('Context:', state.context); // Log the context
|
||||
getComposerStore(composer.id).update((storeValue) => ({
|
||||
...storeValue,
|
||||
state: state.value,
|
||||
|
Reference in New Issue
Block a user