Skip to content

Commit

Permalink
fix: list data will populate on new lists using the updated listitemm…
Browse files Browse the repository at this point in the history
…odel type
  • Loading branch information
eternalmaha committed Oct 5, 2024
1 parent bb1af64 commit 380072e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function useShoppingLists(user: User | null) {
const ListItemModel = t.type({
id: t.string,
name: t.string,
//itemQuantity: t.number,
itemQuantity: t.number,
dateLastPurchased: t.union([FirebaseTimestamp, t.null]),
dateNextPurchased: FirebaseTimestamp,
totalPurchases: t.number,
Expand Down

0 comments on commit 380072e

Please sign in to comment.