diff --git a/.gitignore b/.gitignore index 3c3bbbb..2fb4d1f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ dist dist-ssr *.local *.db +server/prisma/dev.db # Editor directories and files .vscode/* diff --git a/components/Tracker.tsx b/components/Tracker.tsx index 37296f6..6db25ad 100644 --- a/components/Tracker.tsx +++ b/components/Tracker.tsx @@ -148,7 +148,7 @@ const Tracker: React.FC = ({ userId, userWeight, activeSession, ac const confirmPlanStart = () => { if (showPlanPrep) { - onSessionStart(showPlanPrep); + onSessionStart(showPlanPrep, parseFloat(userBodyWeight)); setShowPlanPrep(null); } } diff --git a/server/prisma/dev.db b/server/prisma/dev.db index 2911abf..90f280a 100644 Binary files a/server/prisma/dev.db and b/server/prisma/dev.db differ