Moving link generation into FormActions
This commit is contained in:
@@ -16,8 +16,8 @@ class Render extends React.PureComponent {
|
||||
const svg = this.svgContainer.current.querySelector('svg');
|
||||
this.props.onRender({
|
||||
svg: svg.outerHTML,
|
||||
width: svg.getAttribute('width'),
|
||||
height: svg.getAttribute('height')
|
||||
width: Number(svg.getAttribute('width')),
|
||||
height: Number(svg.getAttribute('height'))
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user