Sfoglia il codice sorgente

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 anni fa
parent
commit
b2d52e2629
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/core/components/response-body.jsx

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


Caricamento…
Annulla
Salva