Update lifecycle.js

This commit is contained in:
John Hildenbiddle
2022-02-02 18:45:26 -06:00
parent 6cb9a589c3
commit 2a58be69eb
+2 -1
View File
@@ -42,11 +42,12 @@ export function Lifecycle(Base) {
try {
hookFn(data, result => {
data = result;
step(index + 1);
});
} catch (err) {
console.error(errTitle, err);
}
step(index + 1);
} else {
try {
const result = hookFn(data);