Skip to content

Commit 50fa6bd

Browse files
committed
update to main
1 parent a713a3c commit 50fa6bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/workout.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const createSteps = (config: RoutineConfiguration): Step[] => {
2323
totalSets: config.Sets.value,
2424
totalCycles: config.Cycles.value,
2525
});
26-
if (j <= config.Cycles.value - 1 && i <= config.Sets.value) {
26+
if (i <= config.Cycles.value - 2) {
2727
steps.push({
2828
name: config.Rest.name,
2929
duration: config.Rest.duration,

0 commit comments

Comments
 (0)