Disable push notification when not logged in (#19272)
This commit is contained in:
parent
37eaa7fc01
commit
216dbaedaf
5 changed files with 74 additions and 47 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue