Skip to content

Commit

Permalink
#115 [chore] : key에 hash code가 아닌 id값 명시
Browse files Browse the repository at this point in the history
  • Loading branch information
chanubc committed Nov 24, 2024
1 parent 26963ab commit 30dc380
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fun NewsNewsScreen(
else -> {
items(
count = newsItems.itemCount,
key = newsItems.itemKey { it },
key = newsItems.itemKey { it.newsId },
contentType = newsItems.itemContentType { ContentType.Item.name },
) { index ->
newsItems[index]?.let {
Expand Down

0 comments on commit 30dc380

Please sign in to comment.