Temprarily comment out broken component

This commit is contained in:
Itay Mizeretz 2018-08-16 17:08:34 +03:00
parent 2a393d6ed5
commit b8dd37c5df
2 changed files with 10 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import {Link} from 'react-router-dom';
import {Icon} from 'react-fa';
import PreviewPane from 'components/map/preview-pane/PreviewPane';
import {ReactiveGraph} from 'components/reactive-graph/ReactiveGraph';
import {ModalContainer, ModalDialog} from 'react-modal-dialog';
// import {ModalContainer, ModalDialog} from 'react-modal-dialog';
import {options, edgeGroupToColor} from 'components/map/MapOptions';
import AuthComponent from '../AuthComponent';
@ -102,6 +102,9 @@ class MapPageComponent extends AuthComponent {
return <div />
}
// TODO: uncomment
return <div/>
/*
return (
<ModalContainer onClose={() => this.setState({showKillDialog: false})}>
<ModalDialog onClose={() => this.setState({showKillDialog: false})}>
@ -125,6 +128,7 @@ class MapPageComponent extends AuthComponent {
</ModalDialog>
</ModalContainer>
)
*/
};
renderTelemetryEntry(telemetry) {

View File

@ -1,7 +1,7 @@
import React from 'react';
import {Col} from 'react-bootstrap';
import {Link} from 'react-router-dom';
import {ModalContainer, ModalDialog} from 'react-modal-dialog';
//import {ModalContainer, ModalDialog} from 'react-modal-dialog';
import AuthComponent from '../AuthComponent';
class StartOverPageComponent extends AuthComponent {
@ -31,6 +31,9 @@ class StartOverPageComponent extends AuthComponent {
return <div />
}
// TODO: uncomment
return <div />
/*
return (
<ModalContainer onClose={() => this.setState({showCleanDialog: false})}>
<ModalDialog onClose={() => this.setState({showCleanDialog: false})}>
@ -63,6 +66,7 @@ class StartOverPageComponent extends AuthComponent {
</ModalDialog>
</ModalContainer>
)
*/
};
render() {