Browse Source

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

bubble
Owen Conti 7 years ago
parent
commit
b2d52e2629
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/core/components/response-body.jsx

+ 1
- 1
src/core/components/response-body.jsx 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


Loading…
Cancel
Save