Skip to content

Commit

Permalink
[fix] : uistate Success 타입 제너릭 타입으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
chanubc committed Jan 2, 2024
1 parent 66c0e58 commit 68de139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/org/sopt/dosopttemplate/utils/UiState.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sealed interface UiState<out T> {

data class Success<T>(
val data: T,
) : UiState<Nothing>
) : UiState<T>

object Error : UiState<Nothing>
}

0 comments on commit 68de139

Please sign in to comment.