Skip to content

Commit

Permalink
#278 [chore] 린트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
2zerozu committed Dec 13, 2023
1 parent 9d42312 commit 389edc7
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,14 @@ class UserInputViewModel @Inject constructor(

fun getNickNameState() {
viewModelScope.launch {
postDuplicateUseCase(requireNotNull(nickname.value)).onSuccess { check ->
_isNickname.value = (check == 1)
updateNicknameMessage(true)
updateDuplicateButtonState(requireNotNull(_isNickname.value))
}.onFailure { throwable ->
Timber.e("$throwable")
}
postDuplicateUseCase(requireNotNull(nickname.value))
.onSuccess { check ->
_isNickname.value = (check == 1)
updateNicknameMessage(true)
updateDuplicateButtonState(requireNotNull(_isNickname.value))
}.onFailure { throwable ->
Timber.e("$throwable")
}
}
}

Expand Down

0 comments on commit 389edc7

Please sign in to comment.