diff --git a/src/Components/SVG/SVG.tsx b/src/Components/SVG/SVG.tsx index c11e39b..13d6854 100644 --- a/src/Components/SVG/SVG.tsx +++ b/src/Components/SVG/SVG.tsx @@ -18,7 +18,6 @@ interface ISVGState { export class SVG extends React.PureComponent { public state: ISVGState; - public svg: React.RefObject; constructor(props: ISVGProps) { super(props); @@ -29,7 +28,6 @@ export class SVG extends React.PureComponent { } as Value, tool: TOOL_PAN }; - this.svg = React.createRef(); } render() { @@ -63,7 +61,7 @@ export class SVG extends React.PureComponent { height: 120 }} > - + { children }