Skip to content

Commit af31abe

Browse files
denisxtimdorr
authored andcommitted
remove redundant space at comment (reduxjs#1004)
1 parent ec0c5b6 commit af31abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/connectAdvanced.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export default function connectAdvanced(
202202
const parentSub = (this.propsMode ? this.props : this.context)[subscriptionKey]
203203
this.subscription = new Subscription(this.store, parentSub, this.onStateChange.bind(this))
204204

205-
// `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in
205+
// `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in
206206
// the middle of the notification loop, where `this.subscription` will then be null. An
207207
// extra null check every change can be avoided by copying the method onto `this` and then
208208
// replacing it with a no-op on unmount. This can probably be avoided if Subscription's

0 commit comments

Comments
 (0)