diff --git a/packages/create-subscription/src/createSubscription.js b/packages/create-subscription/src/createSubscription.js index df18f8b3c752..3c127155967b 100644 --- a/packages/create-subscription/src/createSubscription.js +++ b/packages/create-subscription/src/createSubscription.js @@ -21,7 +21,7 @@ export function createSubscription( getCurrentValue: (source: Property) => Value | void, // Setup a subscription for the subscribable value in props, and return an unsubscribe function. - // Return false to indicate the property cannot be unsubscribed from (e.g. native Promises). + // Return empty function if the property cannot be unsubscribed from (e.g. native Promises). // Due to the variety of change event types, subscribers should provide their own handlers. // Those handlers should not attempt to update state though; // They should call the callback() instead when a subscription changes.