File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,8 @@ export default function createConnect(React) {
206206 ) ;
207207 }
208208 }
209- // to prevent breaking ie8
209+ //adding properties in this way
210+ //prevents ie8 from breaking
210211 Connect . displayName = `Connect(${ getDisplayName ( WrappedComponent ) } )` ;
211212 Connect . WrappedComponent = WrappedComponent ;
212213
Original file line number Diff line number Diff line change @@ -92,11 +92,13 @@ export default function createProvider(React) {
9292 return Children . only ( children ) ;
9393 }
9494 }
95+ //adding properties in this way
96+ //prevents ie8 from breaking
9597 Provider . childContextTypes = {
9698 store : storeShape . isRequired
9799 } ;
98100
99- Provider . propTypes = {
101+ Provider . propTypes = {
100102 store : storeShape . isRequired ,
101103 children : ( requireFunctionChild ?
102104 PropTypes . func :
You can’t perform that action at this time.
0 commit comments