summaryrefslogtreecommitdiffstats
path: root/dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-21 13:45:31 +0200
committersvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-21 13:45:35 +0200
commit0d08f881e492579a6e8d8cfd6e6752c7044663b5 (patch)
treec9bd256a67835879afd2567278909401b07e6d9c /dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx
parent571c1c8c6e202fd9d31cbffe1ffdf87213104b6a (diff)
dox-sequnece-diagram render fix
Issue-ID: SDC-944 Change-Id: I126fc9201f7c6dcfb96ccd1b4684d3aea5e44401 Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx')
-rw-r--r--dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx b/dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx
index 1898ba2e57..4b0f7d2388 100644
--- a/dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx
+++ b/dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx
@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,7 +15,7 @@
*/
import React from 'react';
-import { ReactDOM } from 'react-dom';
+import { render } from 'react-dom';
import Sequencer from './ecomp/asdc/sequencer/Sequencer';
import '../res/ecomp/asdc/sequencer/sequencer-development.scss';
import '../res/thirdparty/react-select/react-select.min.css';
@@ -25,7 +25,7 @@ function renderApplication() {
shell.setAttribute('style', 'height:100%;width:100%;margin:0;padding:0');
document.body.appendChild(shell);
const options = { demo: true };
- ReactDOM.render(<Sequencer options={options} />, shell);
+ render(<Sequencer options={options} />, shell);
}
if (window.addEventListener) {