From 0d08f881e492579a6e8d8cfd6e6752c7044663b5 Mon Sep 17 00:00:00 2001 From: svishnev Date: Sun, 21 Jan 2018 13:45:31 +0200 Subject: dox-sequnece-diagram render fix Issue-ID: SDC-944 Change-Id: I126fc9201f7c6dcfb96ccd1b4684d3aea5e44401 Signed-off-by: svishnev --- dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dox-sequence-diagram-ui/src/main/webapp/lib') 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(, shell); + render(, shell); } if (window.addEventListener) { -- cgit 1.2.3-korg