diff options
Diffstat (limited to 'src/components/Form/Items')
-rw-r--r-- | src/components/Form/Items/AddNewItemForm.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Form/Items/AddNewItemForm.js b/src/components/Form/Items/AddNewItemForm.js index a4710f9..37167fd 100644 --- a/src/components/Form/Items/AddNewItemForm.js +++ b/src/components/Form/Items/AddNewItemForm.js @@ -39,7 +39,8 @@ const AddNewItemForm = (props) => { const setItemInfo = (itemName) => (props.savedItems === null || itemName === registerItemPrompt) ? props.registerItemFormVisibility(true) - : props.savedItems.some((i) => itemName === i.Model.toLowerCase() && applyItemInfo(i)) + : props.savedItems.some((i) => + itemName === i.Model.toLowerCase() && applyItemInfo(i)) const resetAllValues = () => { setItemNameValue(""); |