@wise/dynamic-flow-client 3.28.8-experimental-44c10c9 → 3.28.8-experimental-4d66e42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/main.js CHANGED
@@ -13611,7 +13611,7 @@ function useDynamicFlowCore(props) {
13611
13611
  return () => {
13612
13612
  onAction(__spreadProps(__spreadValues({}, action), { skipValidation: true })).then(() => {
13613
13613
  setStepStack((value) => {
13614
- const newStepStack = [...value.slice(0, -1), ...value.slice(-1)];
13614
+ const newStepStack = [...value.slice(0, -2), ...value.slice(-1)];
13615
13615
  stepComponentRef.current = newStepStack[newStepStack.length - 1];
13616
13616
  return newStepStack;
13617
13617
  });