diff --git a/.npmrc b/.npmrc index 9cf94950..4fd15ed1 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ -package-lock=false \ No newline at end of file +package-lock=false +legacy-peer-deps=true diff --git a/package.json b/package.json index b39a7b4d..ac9af969 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-design-editor", - "version": "0.0.50", + "version": "0.0.53", "description": "Design Editor Tools with React.js + ant.design + fabric.js", "main": "dist/react-design-editor.min.js", "typings": "lib/index.d.ts", diff --git a/src/App.tsx b/src/App.tsx index 3a4d31c4..66f66cb0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import { Helmet } from 'react-helmet'; -import Title from './components/layout/Title'; +import TitleBar from './components/layout/TitleBar'; import FlowContainer from './containers/FlowContainer'; import { FiberEditor, FlowEditor, HexGridEditor, ImageMapEditor, WorkflowEditor } from './editors'; @@ -10,7 +10,7 @@ interface IState { activeEditor?: EditorType; } -class App extends Component { +class App extends Component { state: IState = { activeEditor: 'imagemap', }; @@ -63,7 +63,7 @@ class App extends Component {