diff options
-rw-r--r-- | dox-sequence-diagram-ui/src/main/webapp/lib/main.jsx | 6 |
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) { |