瀏覽代碼

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 年之前
父節點
當前提交
b2d52e2629
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/core/components/response-body.jsx

+ 1
- 1
src/core/components/response-body.jsx 查看文件

@@ -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…
取消
儲存