Skip to content

Commit

Permalink
refactor : 중복 로직 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
HamBP committed Jul 30, 2024
1 parent 6660797 commit 0a68b8d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ class ReservationsViewModel @Inject constructor(
_uiState.update { ReservationsUiState.Loading }
}
.onEach { reservations ->
if (uiState.value == reservations) return@onEach

_uiState.update { ReservationsUiState.Success(reservations) }
}
.catch {
Expand Down

0 comments on commit 0a68b8d

Please sign in to comment.