Skip to content

Commit

Permalink
[CHORE] #95 : ViewModel EventState -> EventState로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Feb 6, 2024
1 parent 0ab4acf commit dccd38c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -48,14 +47,15 @@ internal fun SurveyEventContent(
)
}

is EventsState.Success ->
is EventsState.Success -> {
items(eventsState.events) { event ->
EventCard(
event = event,
selectedEvent = selectedEvent,
onEventSelected = onEventSelected,
)
}
}

is EventsState.Failure -> {}
}
Expand Down

0 comments on commit dccd38c

Please sign in to comment.