1. No dropping user's bodyweight to the default value after a session based on a plan.

2. dev.db to .gitignore.
This commit is contained in:
AG
2025-11-24 23:31:43 +02:00
parent 72867668d4
commit fe2883608c
3 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -12,6 +12,7 @@ dist
dist-ssr
*.local
*.db
server/prisma/dev.db
# Editor directories and files
.vscode/*

View File

@@ -148,7 +148,7 @@ const Tracker: React.FC<TrackerProps> = ({ userId, userWeight, activeSession, ac
const confirmPlanStart = () => {
if (showPlanPrep) {
onSessionStart(showPlanPrep);
onSessionStart(showPlanPrep, parseFloat(userBodyWeight));
setShowPlanPrep(null);
}
}

Binary file not shown.