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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user