This commit is contained in:
AG
2025-11-25 23:48:40 +02:00
parent 701d217c89
commit e28ddccd7f

View File

@@ -70,7 +70,7 @@ const Tracker: React.FC<TrackerProps> = ({ userId, userWeight, activeSession, ac
useEffect(() => {
const loadData = async () => {
const exList = await getExercises(userId);
setExercises(exList.filter(e => !e.isArchived || (activePlan && activePlan.steps.some(s => s.exerciseId === e.id))));
setExercises(exList);
const planList = await getPlans(userId);
setPlans(planList);