diff --git a/feature/home/src/main/java/com/terning/feature/home/HomeRoute.kt b/feature/home/src/main/java/com/terning/feature/home/HomeRoute.kt index 555d68f9..f4a677fd 100644 --- a/feature/home/src/main/java/com/terning/feature/home/HomeRoute.kt +++ b/feature/home/src/main/java/com/terning/feature/home/HomeRoute.kt @@ -56,6 +56,7 @@ import com.terning.feature.home.component.HomeRecommendEmptyIntern import com.terning.feature.home.component.HomeUpcomingEmptyFilter import com.terning.feature.home.component.HomeUpcomingEmptyIntern import com.terning.feature.home.component.HomeUpcomingInternScreen +import okhttp3.internal.toImmutableList const val NAME_MAX_LENGTH = 5 @@ -144,7 +145,7 @@ fun HomeScreen( } val homeRecommendInternList = when (homeState.homeRecommendInternState) { - is UiState.Success -> (homeState.homeRecommendInternState as UiState.Success).data.homeRecommendInternDetail + is UiState.Success -> (homeState.homeRecommendInternState as UiState.Success).data.homeRecommendInternDetail.toImmutableList() else -> listOf() } @@ -424,7 +425,7 @@ private fun ShowUpcomingIntern( ) else -> HomeUpcomingInternScreen( - internList = homeUpcomingInternDetail, + internList = homeUpcomingInternDetail.toImmutableList(), navigateToIntern = navigateToIntern, ) }