Update record-detail.jsx

Remove unused variables and imports
This commit is contained in:
nestoralonso 2019-10-07 09:46:38 -05:00 committed by xiaofeng.mxf
parent 18cf8c960e
commit 86befa92a8

View File

@ -13,7 +13,6 @@ import RecordWsMessageDetail from 'component/record-ws-message-detail';
import { hideRecordDetail } from 'action/recordAction';
import Style from './record-detail.less';
import CommonStyle from '../style/common.less';
const StyleBind = ClassBind.bind(Style);
const PageIndexMap = {
@ -22,9 +21,6 @@ const PageIndexMap = {
WEBSOCKET_INDEX: 'WEBSOCKET_INDEX'
};
// the maximum length of the request body to decide whether to offer a download link for the request body
const MAXIMUM_REQ_BODY_LENGTH = 10000;
class RecordDetail extends React.Component {
constructor() {
super();
@ -65,7 +61,6 @@ class RecordDetail extends React.Component {
}
getWsMessageDiv(recordDetail) {
const { globalStatus } = this.props;
return <RecordWsMessageDetail recordDetail={recordDetail} />;
}