[#18] 코드 정리 및 일부 컨벤션 통일 #19

Merged
pricelees merged 24 commits from refactor/#18 into main 2025-07-22 09:05:31 +00:00
Showing only changes of commit bd9243b9c9 - Show all commits

View File

@ -121,9 +121,9 @@ function renderAvailableTimes(times) {
timeSlots.innerHTML = '<div class="no-times">선택할 수 있는 시간이 없습니다.</div>'; timeSlots.innerHTML = '<div class="no-times">선택할 수 있는 시간이 없습니다.</div>';
return; return;
} }
times.data.reservationTimes.forEach(time => { times.data.times.forEach(time => {
const startAt = time.startAt; const startAt = time.startAt;
const timeId = time.timeId; const timeId = time.id;
const alreadyBooked = time.alreadyBooked; const alreadyBooked = time.alreadyBooked;
const div = createSlot('time', startAt, timeId, alreadyBooked); // createSlot('time', 시작 시간, time id, 예약 여부) const div = createSlot('time', startAt, timeId, alreadyBooked); // createSlot('time', 시작 시간, time id, 예약 여부)