fix(catalog): identity is done in a wrong order

This commit is contained in:
Nikita Nek Dudnik
2020-06-17 17:50:12 +02:00
parent cdbf37c061
commit f6012daa77
+1 -1
View File
@@ -265,8 +265,8 @@ export class PrivateAppImpl implements BackstageApp {
if (done) {
throw new Error('Identity result callback was called twice');
}
setDone(true);
this.identityApi.setSignInResult(result);
setDone(true);
},
[done],
);