diff --git a/src/views/ManageList.jsx b/src/views/ManageList.jsx index 1395d95..a150735 100644 --- a/src/views/ManageList.jsx +++ b/src/views/ManageList.jsx @@ -51,7 +51,7 @@ export function ManageList({ listPath, userId, data }) { } // if the item does not exist, add it to the list await addItem(listPath, { - itemName: name, + itemName: name.toLowerCase(), daysUntilNextPurchase: nextPurchase, }); setMessageItem(`${name} has been successfully added to the list`);