From 1eb66b78d3b1f1fc60a82ce6dbd16b12f2845e9a Mon Sep 17 00:00:00 2001 From: svishnev Date: Thu, 11 Jan 2018 14:39:45 +0200 Subject: React version upgrade Issue-ID: SDC-894 Change-Id: I7c200a4b0b1d09a8fec638906db4258cafe252b5 Signed-off-by: svishnev --- .../lib/ecomp/asdc/sequencer/components/editor/Editor.jsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx') diff --git a/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx b/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx index 09703b84bf..00c8f7c47c 100644 --- a/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx +++ b/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx @@ -1,5 +1,5 @@ /*! - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * Copyright © 2016-2017 European Support Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,7 +15,7 @@ */ import React from 'react'; - +import PropTypes from 'prop-types'; import Logger from '../../common/Logger'; import Common from '../../common/Common'; import Designer from './components/designer/Designer'; @@ -25,7 +25,7 @@ import Source from './components/source/Source'; /** * Editor view, aggregating the designer, the code editor, the toolbar. */ -export default class Editor extends React.Component { +class Editor extends React.Component { // /////////////////////////////////////////////////////////////////////////////////////////////// @@ -167,5 +167,8 @@ export default class Editor extends React.Component { /** Element properties. */ Editor.propTypes = { - application: React.PropTypes.object.isRequired, + application: PropTypes.object.isRequired, }; + +export default Editor; + -- cgit 1.2.3-korg