Skip to content

Commit

Permalink
[FIX] #93 : LazyColumn 각 아이템 고유 키 값 eventid -> surveyFormId로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Jan 9, 2024
1 parent 11be809 commit 2401d21
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private fun ManagementSurveyContent(
) {
itemsIndexed(
items = surveyFormsState.surveyForms,
key = { index, survey -> survey.eventId },
key = { index, survey -> survey.surveyFormId },
) { currentIndex, survey ->
ManagementSurveyItemCard(
item = survey,
Expand Down Expand Up @@ -116,7 +116,7 @@ private fun ManagementSurveyItemCard(
shape = RoundedCornerShape(10.dp),
modifier = Modifier
.fillMaxSize()
.clickable { onCardClicked(item.eventId) },
.clickable { onCardClicked(item.surveyFormId) },
colors = CardDefaults.cardColors(containerColor = cardColor),
) {
Row(
Expand Down

0 comments on commit 2401d21

Please sign in to comment.