Skip to content

Commit

Permalink
Increase Saved Meals limit to 200 (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZengLawrence authored Dec 24, 2024
1 parent cf39357 commit be72905
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "diet-diary",
"version": "2.32.2",
"version": "2.32.3",
"private": true,
"homepage": ".",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/features/saved-meal/savedMealsSlice.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
import { Food, Meal } from "../../model/Food";

const MAX_SAVED_COUNT = 100;
const MAX_SAVED_COUNT = 200;

interface SavedMeal {
foods: Food[];
Expand Down

0 comments on commit be72905

Please sign in to comment.