From 883a907350ceb06a9aac7f2e45d84179ba220d20 Mon Sep 17 00:00:00 2001 From: Mo Tarbin Date: Mon, 1 Jul 2024 23:53:01 -0400 Subject: Remove commented out code and unused import in Landing.jsx, refactor CreateThingModal.jsx for improved readability --- src/views/Modals/Inputs/CreateThingModal.jsx | 100 ++++++++++++--------------- 1 file changed, 45 insertions(+), 55 deletions(-) (limited to 'src/views/Modals/Inputs') diff --git a/src/views/Modals/Inputs/CreateThingModal.jsx b/src/views/Modals/Inputs/CreateThingModal.jsx index ffce51c..96b7954 100644 --- a/src/views/Modals/Inputs/CreateThingModal.jsx +++ b/src/views/Modals/Inputs/CreateThingModal.jsx @@ -3,7 +3,6 @@ import { Button, FormControl, FormHelperText, - FormLabel, Input, Modal, ModalDialog, @@ -67,76 +66,67 @@ function CreateThingModal({ isOpen, onClose, onSave, currentThing }) { {currentThing?.id ? 'Edit' : 'Create'} Thing - - Name -