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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,6 +12,7 @@ dist
|
|||||||
dist-ssr
|
dist-ssr
|
||||||
*.local
|
*.local
|
||||||
*.db
|
*.db
|
||||||
|
server/prisma/dev.db
|
||||||
|
|
||||||
# Editor directories and files
|
# Editor directories and files
|
||||||
.vscode/*
|
.vscode/*
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ const Tracker: React.FC<TrackerProps> = ({ userId, userWeight, activeSession, ac
|
|||||||
|
|
||||||
const confirmPlanStart = () => {
|
const confirmPlanStart = () => {
|
||||||
if (showPlanPrep) {
|
if (showPlanPrep) {
|
||||||
onSessionStart(showPlanPrep);
|
onSessionStart(showPlanPrep, parseFloat(userBodyWeight));
|
||||||
setShowPlanPrep(null);
|
setShowPlanPrep(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user