Skip to content

Commit 40fd88e

Browse files
committed
fix lint warnings
1 parent 7769497 commit 40fd88e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/compounds/Item/Item.jsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Item.propTypes = {
9999
PropTypes.shape({}),
100100
]),
101101
isLoading: PropTypes.bool,
102-
item: PropTypes.shape({ ...itemPropTypes }).isRequired,
102+
item: PropTypes.shape(itemPropTypes).isRequired,
103103
orientation: PropTypes.oneOf(['horizontal', 'vertical']),
104104
titleLink: PropTypes.string,
105105
withButtonLink: PropTypes.bool,
@@ -115,14 +115,6 @@ Item.defaultProps = {
115115
buttonProps: LinkedButton.defaultProps,
116116
href: '',
117117
isLoading: false,
118-
item: {
119-
description: '',
120-
id: null,
121-
img: {
122-
alt: '',
123-
},
124-
slug: '',
125-
},
126118
orientation: 'vertical',
127119
titleLink: '',
128120
withButtonLink: false,

0 commit comments

Comments
 (0)