@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 +1 -1
- package/build/main.min.js +1 -1
- package/build/main.mjs +1 -1
- package/package.json +1 -1
package/build/main.mjs
CHANGED
|
@@ -13593,7 +13593,7 @@ function useDynamicFlowCore(props) {
|
|
|
13593
13593
|
return () => {
|
|
13594
13594
|
onAction(__spreadProps(__spreadValues({}, action), { skipValidation: true })).then(() => {
|
|
13595
13595
|
setStepStack((value) => {
|
|
13596
|
-
const newStepStack = [...value.slice(0, -
|
|
13596
|
+
const newStepStack = [...value.slice(0, -2), ...value.slice(-1)];
|
|
13597
13597
|
stepComponentRef.current = newStepStack[newStepStack.length - 1];
|
|
13598
13598
|
return newStepStack;
|
|
13599
13599
|
});
|