Skip to content
Snippets Groups Projects
Commit ceb1340e authored by Jack Reed's avatar Jack Reed
Browse files

Clean up of AnnotationDrawing

parent 479fbc77
No related branches found
No related tags found
No related merge requests found
......@@ -104,17 +104,15 @@ class AnnotationDrawing extends Component {
const { windowId } = this.props;
this.OSDReference = OSDReferences.get(windowId).current;
return (
<>
{ReactDOM.createPortal(this.paperThing(), this.OSDReference.viewer.element)}
</>
ReactDOM.createPortal(this.paperThing(), this.OSDReference.viewer.element)
);
}
}
AnnotationDrawing.propTypes = {
activeTool: PropTypes.string,
updateGeometry: PropTypes.func.isRequired,
strokeWidth: PropTypes.number,
updateGeometry: PropTypes.func.isRequired,
windowId: PropTypes.string.isRequired,
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment