diff --git a/src/UI/Components/ToolBar/ToolBar.tsx b/src/UI/Components/ToolBar/ToolBar.tsx index a4a435257..36ee13bfb 100644 --- a/src/UI/Components/ToolBar/ToolBar.tsx +++ b/src/UI/Components/ToolBar/ToolBar.tsx @@ -4,12 +4,13 @@ import { ICON_CDN } from '../../IconEnum'; import { ICommandIconInfo } from '../TopToolBar/TopToolBarInterface'; import './PropertiesPanel.less'; import { userConfig } from '../../../Editor/UserConfig'; +import { observer } from 'mobx-react'; export interface ToolBarProps { iconList: ICommandIconInfo[], } - +@observer export class ToolBar extends React.Component { render()