Skip to content

Commit

Permalink
Update lifecycle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jhildenbiddle committed Feb 3, 2022
1 parent 6cb9a58 commit 2a58be6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/init/lifecycle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2a58be6

Please sign in to comment.