|
|
@@ -1,7 +1,7 @@
|
|
|
import React from 'react';
|
|
|
import PropTypes from 'prop-types';
|
|
|
import { withTranslation } from 'react-i18next';
|
|
|
-import Modal from 'react-bootstrap/es/Modal';
|
|
|
+/* import Modal from 'react-bootstrap/es/Modal'; */
|
|
|
|
|
|
import { createSubscribedElement } from '../../../UnstatedUtils';
|
|
|
|
|
|
@@ -9,7 +9,7 @@ import { createSubscribedElement } from '../../../UnstatedUtils';
|
|
|
class ErrorViewer extends React.Component {
|
|
|
|
|
|
render() {
|
|
|
- const { errors } = this.props;
|
|
|
+ /* const { errors } = this.props;
|
|
|
|
|
|
let value = '(no errors)';
|
|
|
if (errors != null && errors.length > 0) {
|
|
|
@@ -17,9 +17,9 @@ class ErrorViewer extends React.Component {
|
|
|
return JSON.stringify(obj);
|
|
|
});
|
|
|
value = lines.join('\n');
|
|
|
- }
|
|
|
+ } */
|
|
|
|
|
|
- return (
|
|
|
+ return; /* (
|
|
|
<Modal show={this.props.isOpen} onHide={this.props.onClose}>
|
|
|
<Modal.Header closeButton className="bg-danger">
|
|
|
<Modal.Title className="text-white">Errors</Modal.Title>
|
|
|
@@ -28,7 +28,7 @@ class ErrorViewer extends React.Component {
|
|
|
<textarea className="form-control" rows="8" readOnly wrap="off" defaultValue={value}></textarea>
|
|
|
</Modal.Body>
|
|
|
</Modal>
|
|
|
- );
|
|
|
+ ); */
|
|
|
}
|
|
|
|
|
|
}
|