From dccd38c135ede2722078af5182818bf1d5f5a43b Mon Sep 17 00:00:00 2001 From: jeongjaino Date: Tue, 6 Feb 2024 21:11:47 +0900 Subject: [PATCH] =?UTF-8?q?[CHORE]=20#95=20:=20ViewModel=20EventState=20->?= =?UTF-8?q?=20EventState=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wap/wapp/feature/management/survey/SurveyEventContent.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/SurveyEventContent.kt b/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/SurveyEventContent.kt index 1a4ee7e6..db8409d3 100644 --- a/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/SurveyEventContent.kt +++ b/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/SurveyEventContent.kt @@ -21,7 +21,6 @@ import com.wap.designsystem.component.CircleLoader import com.wap.designsystem.component.WappButton import com.wap.designsystem.component.WappTitle import com.wap.wapp.core.model.event.Event -import com.wap.wapp.feature.management.survey.registration.SurveyFormRegistrationViewModel.EventsState @Composable internal fun SurveyEventContent( @@ -48,7 +47,7 @@ internal fun SurveyEventContent( ) } - is EventsState.Success -> + is EventsState.Success -> { items(eventsState.events) { event -> EventCard( event = event, @@ -56,6 +55,7 @@ internal fun SurveyEventContent( onEventSelected = onEventSelected, ) } + } is EventsState.Failure -> {} }