Skip to content

Commit 690df4a

Browse files
committed
make id required
1 parent 8a72421 commit 690df4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compounds/Item/Item.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Item.propTypes = {
9090
isLoading: PropTypes.bool,
9191
item: PropTypes.shape({
9292
description: PropTypes.string,
93-
id: PropTypes.number,
93+
id: PropTypes.number.isRequired,
9494
img: PropTypes.shape({
9595
src: PropTypes.string,
9696
alt: PropTypes.string,

0 commit comments

Comments
 (0)