From 86e1db56680a9cc8acd729570a0e124ff26ae936 Mon Sep 17 00:00:00 2001 From: GrannyYetta Date: Fri, 20 Sep 2024 16:54:07 +0200 Subject: [PATCH] set the item name toLowerCase in the ManageList view --- src/views/ManageList.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`);