File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -90,12 +90,12 @@ Item.propTypes = {
90
90
isLoading : PropTypes . bool ,
91
91
item : PropTypes . shape ( {
92
92
description : PropTypes . string ,
93
- id : PropTypes . number . isRequired ,
93
+ id : PropTypes . number ,
94
94
img : PropTypes . shape ( {
95
- src : PropTypes . string . isRequired ,
95
+ src : PropTypes . string ,
96
96
alt : PropTypes . string ,
97
- } ) . isRequired ,
98
- name : PropTypes . string . isRequired ,
97
+ } ) ,
98
+ name : PropTypes . string ,
99
99
slug : PropTypes . string ,
100
100
} ) ,
101
101
orientation : PropTypes . oneOf ( [ 'horizontal' , 'vertical' ] ) ,
@@ -115,6 +115,13 @@ Item.defaultProps = {
115
115
isLoading : false ,
116
116
item : {
117
117
description : '' ,
118
+ id : null ,
119
+ img : {
120
+ src : '' ,
121
+ alt : '' ,
122
+ } ,
123
+ name : '' ,
124
+ slug : '' ,
118
125
} ,
119
126
orientation : 'vertical' ,
120
127
titleLink : '' ,
You can’t perform that action at this time.
0 commit comments