diff --git a/samples/react-image-editor/src/components/ImageManipulation/ImageManipulation.tsx b/samples/react-image-editor/src/components/ImageManipulation/ImageManipulation.tsx index e976cc2ba..d011fb5f8 100644 --- a/samples/react-image-editor/src/components/ImageManipulation/ImageManipulation.tsx +++ b/samples/react-image-editor/src/components/ImageManipulation/ImageManipulation.tsx @@ -104,32 +104,6 @@ export class ImageManipulation extends React.Component { - return ( -
- {this.props.displyMode === DisplayMode.Edit && this.getCommandBar()} -
{ this.wrapperRef = element; }} - style={this.canvasRef && { width: '' + this.canvasRef.width + 'px' }} - > - - - - - {this.state.settingPanel === SettingPanelType.Crop && (this.getCropGrid())} - {this.state.settingPanel === SettingPanelType.Resize && (this.getResizeGrid())} - -
-
- ); - } - private imageChanged(url: string): void { this.img = new Image(); this.img.src = url;