Skip to content

Commit

Permalink
set the item name toLowerCase in the ManageList view
Browse files Browse the repository at this point in the history
  • Loading branch information
GrannyYetta committed Sep 20, 2024
1 parent a895d04 commit 86e1db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/ManageList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down

0 comments on commit 86e1db5

Please sign in to comment.