diff --git a/README.md b/README.md index d84dbd3874f6757cc6b75447439282c6512f8361..e4ae959ce14b76bcb7c755c394d682d008083f98 100644 --- a/README.md +++ b/README.md @@ -403,7 +403,7 @@ AppleHealthKit.initHealthKit(HKOPTIONS, (err, res) => { // when the component where the listener was added unmounts // (or whenever the listener should be removed), call the -// `remove` method of the subscription object. +// 'remove' method of the subscription object. componentWillUnmount() { this.sub.remove(); }