Merge pull request #1347 from spotify/rugvip/order
packages/core-api: fix invocation order when continuing to app after sign-in
This commit is contained in:
@@ -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],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user