mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 23:31:26 +00:00
Update record-detail.jsx
Remove unused variables and imports
This commit is contained in:
parent
18cf8c960e
commit
86befa92a8
@ -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} />;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user