Commit 3f5c41ed authored by Libin Lu's avatar Libin Lu Committed by GitHub

Merge pull request #440 from jtakahashi0604/patch-1

Fix type Listner to Listener
parents 157ad2ff e12646f8
......@@ -29,7 +29,7 @@ export default class PushController extends Component {
console.log("INITIAL NOTIFICATION", notif)
});
this.notificationListner = FCM.on(FCMEvent.Notification, notif => {
this.notificationListener = FCM.on(FCMEvent.Notification, notif => {
console.log("Notification", notif);
if(notif.local_notification){
return;
......@@ -74,7 +74,7 @@ export default class PushController extends Component {
}
componentWillUnmount() {
this.notificationListner.remove();
this.notificationListener.remove();
this.refreshTokenListener.remove();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment