Skip to content

Commit

Permalink
[MERGE] #139 -> develop
Browse files Browse the repository at this point in the history
[HOTFIX/#139] 초기 필터링 오류 해결
  • Loading branch information
Hyobeen-Park authored Jul 18, 2024
2 parents fe2ca9c + d9d1594 commit 5c4183b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ fun HomeRoute(
}
}

LaunchedEffect(currentSortBy.value) {
LaunchedEffect(homeFilteringState, currentSortBy.value) {
when (homeFilteringState) {
is UiState.Success ->
with((homeFilteringState as UiState.Success<HomeFilteringInfoModel>).data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ class HomeViewModel @Inject constructor(
getProfile()
getFilteringInfo()
getHomeTodayInternList()
getRecommendInternsData(
sortBy = _homeSortByState.value,
startYear = 2024,
startMonth = 8,
)
}

fun getRecommendInternsData(sortBy: Int, startYear: Int, startMonth: Int) {
Expand Down

0 comments on commit 5c4183b

Please sign in to comment.