diff --git a/src/ic/ic-dialog.js b/src/ic/ic-dialog.js index c7b4551..1601bee 100644 --- a/src/ic/ic-dialog.js +++ b/src/ic/ic-dialog.js @@ -16,18 +16,9 @@ class ICDialog extends React.Component { this.state = { confirmCommand: false, command: '', - icStatus: {} }; } - static getDerivedStateFromProps(props, state){ - if(typeof props.icStatus !== 'undefined'){ - return {icStatus: props.icStatus} - } else { - return {} - } - } - onClose(canceled) { this.props.onClose(); } @@ -58,9 +49,6 @@ class ICDialog extends React.Component { render() { - let icStatus = this.state.icStatus; - delete icStatus['icID']; - let graphURL = "" if (this.props.ic.apiurl !== ""){ graphURL = this.props.ic.apiurl + "/graph.svg" @@ -83,7 +71,7 @@ class ICDialog extends React.Component {
Status: