dox-sequnece-diagram render fix 31/28731/1
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Sun, 21 Jan 2018 11:45:31 +0000 (13:45 +0200)
committersvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Sun, 21 Jan 2018 11:45:35 +0000 (13:45 +0200)
Issue-ID: SDC-944
Change-Id: I126fc9201f7c6dcfb96ccd1b4684d3aea5e44401
Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx

index 1898ba2..4b0f7d2 100644 (file)
@@ -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) {