File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ export default function createConnect(React) {
78
78
79
79
return function wrapWithConnect ( WrappedComponent ) {
80
80
class Connect extends Component {
81
-
82
81
83
82
shouldComponentUpdate ( nextProps , nextState ) {
84
83
if ( ! pure ) {
@@ -206,8 +205,8 @@ export default function createConnect(React) {
206
205
) ;
207
206
}
208
207
}
209
- //adding properties in this way
210
- //prevents ie8 from breaking
208
+ // adding properties in this way
209
+ // prevents ie8 from breaking
211
210
Connect . displayName = `Connect(${ getDisplayName ( WrappedComponent ) } )` ;
212
211
Connect . WrappedComponent = WrappedComponent ;
213
212
Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ export default function createProvider(React) {
92
92
return Children . only ( children ) ;
93
93
}
94
94
}
95
- //adding properties in this way
96
- //prevents ie8 from breaking
95
+ // adding properties in this way
96
+ // prevents ie8 from breaking
97
97
Provider . childContextTypes = {
98
98
store : storeShape . isRequired
99
99
} ;
You can’t perform that action at this time.
0 commit comments