Skip to content

Commit 5111c98

Browse files
authored
semicolon bandit
1 parent ff41f91 commit 5111c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helper/selectable-shapes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ const generateShapeSVG = (shapeObj) => {
342342
const bounds = path.getBounds();
343343
const viewbox = `${bounds.x} ${bounds.y} ${bounds.width} ${bounds.height}`;
344344

345-
return `<svg xmlns="" viewBox="${viewbox}">`;
345+
return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="${viewbox}">`
346346
+ `<path d="${shapeObj.path}" stroke-width="${shapeObj.strokeWidth}" stroke="${strokeColor}" fill="none"/></svg>`;
347347
};
348348

0 commit comments

Comments
 (0)