Skip to content

Commit

Permalink
fix promise resolve for component done
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmachuca committed May 20, 2023
1 parent 4cca072 commit 17030b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QCObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,7 @@

return new Promise (function (resolve, reject){
try {
Promise.resolve(componentDone.call(_component_));
resolve(componentDone.call(_component_));
} catch (e){
reject(e);
}
Expand Down

0 comments on commit 17030b4

Please sign in to comment.