Shopping List backend implementation

- Small code improvements
This commit is contained in:
Dejan
2024-10-11 16:28:17 +02:00
parent 22e962a8b2
commit 86231daba4

View File

@ -50,10 +50,10 @@ const GroceryList = () => {
if (submit) {
if (title?.length > 2 && title?.length <= 25) {
addGrocery({
id: 0,
id: "",
title: title,
category: category,
approved: profileData?.userType === ProfileType.PARENT ? true : false,
approved: profileData?.userType === ProfileType.PARENT,
recurring: false,
frequency: GroceryFrequency.Never,
bought: false,