mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 00:24:53 +00:00
Shopping List backend implementation
- Small code improvements
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user