We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8a6f6f commit 46b164cCopy full SHA for 46b164c
apps/frontend/app/lib/state/workout.ts
@@ -123,7 +123,10 @@ const getExerciseDetails = async (exerciseId: string) => {
123
type TWorkoutDetails = WorkoutDetailsQuery["workoutDetails"];
124
125
export const convertHistorySetToCurrentSet = (
126
- s: TWorkoutDetails["information"]["exercises"][number]["sets"][number],
+ s: Pick<
127
+ TWorkoutDetails["information"]["exercises"][number]["sets"][number],
128
+ "statistic" | "lot"
129
+ >,
130
) =>
131
({
132
lot: s.lot,
0 commit comments