Fix a rookie mistake + rename the class

This commit is contained in:
Tamius Han 2020-12-03 01:03:29 +01:00
parent 38641df28e
commit 38ef7905c7

View File

@ -1,13 +1,12 @@
import UI from './UI';
import VuexWebExtensions from 'vuex-webextensions';
import VideoNotification from '../../../csui/VideoNotification';
import VideoNotification from '../../../csui/NotificationUi';
class PlayerNotification extends UI {
class PlayerNotificationUi extends UI {
constructor (
playerElement
) {
super(
'notification',
getStoreConfig(),
@ -58,7 +57,7 @@ class PlayerNotification extends UI {
getCommsConfig() {
return {
handlers = {
handlers: {
'show-notification': [(message) => this.showNotification(message)],
}
}
@ -95,4 +94,4 @@ class PlayerNotification extends UI {
}
}
export default PlayerNotification;
export default PlayerNotificationUi;