1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-07 21:47:02 +09:00

fix sentry crash

This commit is contained in:
Andrew Simachev 2023-08-12 17:49:18 +02:00
parent 5d42468119
commit a0ba8ed5a5
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
2 changed files with 3 additions and 6 deletions

View file

@ -333,11 +333,8 @@ const PageAuthOnboard = observer(class PageAuthOnboard extends React.Component<I
};
if (stage == Stage.Void) {
this.refNext.setLoading(true);
this.accountCreate(() => {
this.refNext.setLoading(false);
run();
});
this.refNext?.setLoading(true);
this.accountCreate(() => run());
} else {
run();
};

View file

@ -331,7 +331,7 @@ class Action {
callBack();
analytics.event('RemoveCompletely', { count });
},
onCancel: () => { callBack(); }
onCancel: () => callBack(),
},
});
};