diff --git a/src/common/utils/generateScheduleMatrix.ts b/src/common/utils/generateScheduleMatrix.ts index b67759a..543ab6d 100644 --- a/src/common/utils/generateScheduleMatrix.ts +++ b/src/common/utils/generateScheduleMatrix.ts @@ -32,7 +32,7 @@ export const generateScheduleMatrix = (weekSchedule: WeekSchedu let newCell: ScheduleMatrixCell | ScheduleMatrixCell[] = { ...pair, currentPair: - activePair !== -1 && currentDay === yIndex && activePair === xIndex, + activePair !== -1 && currentDay === yIndex + 1 && activePair === xIndex, }; if (cell) {