First Alpha
This commit is contained in:
@ -30,7 +30,7 @@ export default class NotificationsComponent extends Component<{}, {
|
||||
Notifications.messageObservable.unsubscribe(this.onNotification);
|
||||
}
|
||||
|
||||
onNotification([not]: { message: string, type: MessageType }[]) {
|
||||
onNotification(not: { message: string, type: MessageType }) {
|
||||
console.log("Got notification", not)
|
||||
let n = this.state.notifications.slice(0);
|
||||
n.push(not);
|
||||
|
Reference in New Issue
Block a user