Skip to content

Commit 74774fd

Browse files
committed
fix shipto and shipfrom proptypes
1 parent c14a954 commit 74774fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/compounds/Document/Document.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ Document.propTypes = {
101101
lineItems: PropTypes.arrayOf(PropTypes.shape({})).isRequired,
102102
requestIdentifier: PropTypes.string.isRequired,
103103
shippingPrice: PropTypes.string.isRequired,
104-
shipTo: {
104+
shipTo: PropTypes.shape({
105105
organizationName: PropTypes.string,
106106
text: PropTypes.string,
107-
}.isRequired,
108-
shipFrom: {
107+
}).isRequired,
108+
shipFrom: PropTypes.shape({
109109
organizationName: PropTypes.string,
110110
text: PropTypes.string,
111-
}.isRequired,
111+
}).isRequired,
112112
subtotalPrice: PropTypes.string.isRequired,
113113
taxAmount: PropTypes.string.isRequired,
114114
terms: PropTypes.string.isRequired,

0 commit comments

Comments
 (0)