diff --git a/src/webui/src/components/PackageDetail/index.js b/src/webui/src/components/PackageDetail/index.js index 1bbaf8750219..7a9ed0719f5d 100644 --- a/src/webui/src/components/PackageDetail/index.js +++ b/src/webui/src/components/PackageDetail/index.js @@ -1,4 +1,3 @@ - import React from 'react'; import PropTypes from 'prop-types'; import isNil from 'lodash/isNil'; diff --git a/src/webui/src/modules/detail/index.js b/src/webui/src/modules/detail/index.js index 485e34b1f0a2..952d5041c972 100644 --- a/src/webui/src/modules/detail/index.js +++ b/src/webui/src/modules/detail/index.js @@ -12,12 +12,12 @@ const loadingMessage = 'Loading...'; export default class Detail extends React.Component { static propTypes = { match: PropTypes.object - } + }; state = { readMe: '', notFound: false, - } + }; async componentDidMount() { try {