https://codesandbox.io/p/sandbox/react-hook-form-wizard-form-9pg6j
when trying to go to the next step:
TypeError
actions.updateAction is not a function
onSubmit
/src/Step1.js:11:12
8 | const { register, handleSubmit } = useForm();
9 | const { actions, state } = useStateMachine({ updateAction });
10 | const onSubmit = (data) => {
11 | actions.updateAction(data);
| ^
12 | props.history.push("./step2");
13 | };
14 |
View compiled
▶ 1 stack frames were collapsed.