Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
♻️ :: reservation 날짜 padStart
Browse files Browse the repository at this point in the history
  • Loading branch information
chlgkdms committed Dec 5, 2023
1 parent a7a235e commit 4ae323b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ internal fun Reservation(
}

LaunchedEffect("$yearState-$monthState-$dayState") {
reservationViewModel.setDate("$yearState-$monthState-$dayState")
reservationViewModel.setDate("$yearState-$monthState-${dayState.padStart(2, '0')}")
reservationViewModel.fetchDayReservations()
}

Expand Down

0 comments on commit 4ae323b

Please sign in to comment.