Commit 28745057 authored by Greg Wilson's avatar Greg Wilson

updated README

parent 29856fab
......@@ -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();
}
......
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