import { extend } from 'flarum/extend';
import app from 'flarum/app';

import PusherSettingsModal from './components/PusherSettingsModal';

app.initializers.add('flarum-pusher', app => {
  app.extensionSettings['flarum-pusher'] = () => app.modal.show(new PusherSettingsModal());
});

import { extend } from 'flarum/extend';
import app from 'flarum/app';

import PusherSettingsModal from './components/PusherSettingsModal';

app.initializers.add('flarum-pusher', app => {
  app.extensionSettings['flarum-pusher'] = () => app.modal.show(PusherSettingsModal);
});

Fix extension to work with latest state changes
 Fix extension to work with latest state changes
