Commit e12646f8 authored by Junichi Takahashi's avatar Junichi Takahashi Committed by GitHub

Fix type Listner to Listener

Thank you for the nice library.
Fixed typo to sample source code.
parent 157ad2ff
......@@ -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