Disable push notification when not logged in (#19272)

This commit is contained in:
Yamagishi Kazutoshi
2022-10-04 01:15:47 +09:00
committed by GitHub
parent 37eaa7fc01
commit 216dbaedaf
5 changed files with 74 additions and 47 deletions

View File

@ -4,8 +4,10 @@ import { start } from '../mastodon/common';
start();
loadPolyfills().then(() => {
require('../mastodon/main').default();
loadPolyfills().then(async () => {
const { default: main } = import('mastodon/main');
return main();
}).catch(e => {
console.error(e);
});