Skip to content

Commit 66c5054

Browse files
authored
Merge pull request #36 from TryShape/issue-11-add-functionality-to-create-new-shapes
Issue 11 add functionality to create new shapes
2 parents 31d775d + ac403ca commit 66c5054

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/core/CreateShape.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ const CreateShape = (props) => {
316316
<Button onClick={() => props.handleClose()} variant="outline-info">
317317
Close
318318
</Button>
319-
<Button variant="secondary" type="submit" form="createShapeForm">
320-
Save
319+
<Button variant="secondary" type="submit" form="createShapeForm" disabled={!shapeInformation.name}>
320+
Create
321321
</Button>
322322
</Modal.Footer>
323323
</Modal>

0 commit comments

Comments
 (0)