File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ if (typeof window !== 'undefined') {
22
22
}
23
23
24
24
const BreakpointMap = PropTypes . shape ( {
25
- xs : PropTypes . string ,
26
- sm : PropTypes . string ,
27
- md : PropTypes . string ,
28
- lg : PropTypes . string ,
29
- xl : PropTypes . string ,
30
- xxl : PropTypes . strin ,
25
+ xs : PropTypes . number ,
26
+ sm : PropTypes . number ,
27
+ md : PropTypes . number ,
28
+ lg : PropTypes . number ,
29
+ xl : PropTypes . number ,
30
+ xxl : PropTypes . number ,
31
31
} ) . loose
32
32
33
33
const RowProps = {
@@ -104,7 +104,7 @@ export default {
104
104
if ( typeof gutter === 'object' ) {
105
105
for ( let i = 0 ; i <= responsiveArray . length ; i ++ ) {
106
106
const breakpoint = responsiveArray [ i ]
107
- if ( this . state . screens [ breakpoint ] && gutter [ breakpoint ] !== undefined ) {
107
+ if ( this . screens [ breakpoint ] && gutter [ breakpoint ] !== undefined ) {
108
108
return gutter [ breakpoint ]
109
109
}
110
110
}
You can’t perform that action at this time.
0 commit comments