SentryInit is sync now, and remove warning comments

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen committed 2021-07-09 14:23:48 +03:00
1 parent e815461cb4
commit 8af3f2cd5b
1 file changed
+1 -5
+1 -5
View File
@@ -87,11 +87,7 @@ export async function bootstrap(App: AppComponent) {
UserStore.createInstance(); UserStore.createInstance();
/** SentryInit();
* There is no point setting up sentry before UserStore is initialized as
* `allowErrorReporting` will always be falsy.
*/
await SentryInit();
await ClusterStore.createInstance().loadInitialOnRenderer(); await ClusterStore.createInstance().loadInitialOnRenderer();
HotbarStore.createInstance(); HotbarStore.createInstance();