Moving link generation into FormActions

This commit is contained in:
Jeff Avallone
2019-01-13 10:53:07 -05:00
parent f41518bd92
commit 42a1788c52
4 changed files with 111 additions and 72 deletions
+2 -2
View File
@@ -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'))
});
}