Skip to content

Commit 00a8ed6

Browse files
Refactor import statement for draw function
added missing values
1 parent dcef14c commit 00a8ed6

File tree

1 file changed

+1
-1
lines changed
  • site/src/components/ShapeBuilder

1 file changed

+1
-1
lines changed

site/src/components/ShapeBuilder/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import React, { useEffect, useRef, useState } from "react";
33
import { Wrapper, CanvasContainer, OutputBox, StyledSVG, CopyButton } from "./shapeBuilder.styles";
44
import { Button, Typography, Box, CopyIcon } from "@sistent/sistent";
5-
import { SVG, extend as SVGextend } from "@svgdotjs/svg.js";
5+
import { draw, SVG, extend as SVGextend } from "@svgdotjs/svg.js";
66

77
SVGextend(SVG.Polygon, draw);
88

0 commit comments

Comments
 (0)