Skip to content

Commit 9e46af9

Browse files
committed
feat: name now remains the same when switching clip-path types
1 parent 2c9a131 commit 9e46af9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

components/core/CreateShape.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ const CreateShape = (props) => {
103103
if (value === "circle") {
104104
setShapeInformation({
105105
...shapeInformation,
106-
"name": "",
107106
"type": "circle",
108107
"formula": "circle(50% at 50% 50%)",
109108
});
@@ -112,7 +111,6 @@ const CreateShape = (props) => {
112111
if (value === "ellipse") {
113112
setShapeInformation({
114113
...shapeInformation,
115-
"name": "",
116114
"type": "ellipse",
117115
"formula": "ellipse(25% 40% at 50% 50%)",
118116
});

0 commit comments

Comments
 (0)