Skip to content

Commit 0b2673b

Browse files
committed
add back required image and src
1 parent 74cbc26 commit 0b2673b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compounds/Item/Item.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ Item.propTypes = {
9292
description: PropTypes.string,
9393
id: PropTypes.number.isRequired,
9494
img: PropTypes.shape({
95-
src: PropTypes.string,
95+
src: PropTypes.string.isRequired,
9696
alt: PropTypes.string,
97-
}),
97+
}).isRequired,
9898
name: PropTypes.string,
9999
slug: PropTypes.string,
100100
}),

0 commit comments

Comments
 (0)