Remove isRequired from ResponseBody's contentType property as responses without a Content-Type header will not have a value to pass

This commit is contained in:
Owen Conti
2017-06-25 16:10:14 -06:00
parent ddb5704637
commit b2d52e2629

View File

@@ -6,7 +6,7 @@ export default class ResponseBody extends React.Component {
static propTypes = {
content: PropTypes.any.isRequired,
contentType: PropTypes.string.isRequired,
contentType: PropTypes.string,
getComponent: PropTypes.func.isRequired,
headers: PropTypes.object,
url: PropTypes.string