Skip to content

Commit 525b14b

Browse files
committed
[FIX/#212] updateBirthDate 반영 오류 수정
1 parent cd72e29 commit 525b14b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feature/onboarding/src/main/java/com/yapp/onboarding/OnboardingViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class OnboardingViewModel @Inject constructor(
3636
),
3737
) {
3838
private val currentRoute: KClass<out OnboardingDestination>?
39-
get() = OnboardingDestination.routes.getOrNull(currentState.currentStep - 1)
39+
get() = OnboardingDestination.routes.getOrNull(currentState.currentStep)
4040

4141
fun processAction(action: OnboardingContract.Action) {
4242
when (action) {

0 commit comments

Comments
 (0)