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:
parent
5d42468119
commit
a0ba8ed5a5
2 changed files with 3 additions and 6 deletions
|
@ -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();
|
||||
};
|
||||
|
|
|
@ -331,7 +331,7 @@ class Action {
|
|||
callBack();
|
||||
analytics.event('RemoveCompletely', { count });
|
||||
},
|
||||
onCancel: () => { callBack(); }
|
||||
onCancel: () => callBack(),
|
||||
},
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue