package com.suno.android.ui.bottom_sheets.comments import com.suno.android.common_data.comments.CommentReply import com.suno.android.common_data.mentions.UserMention import com.suno.android.common_ui.components.list_items.comments.CommentReplyState fun CommentReply.toCommentReplyState(): CommentReplyState = CommentReplyState( id = id.value, userId = userId, userDisplayName = userDisplayName, userHandle = userHandle, userAvatarUrl = userAvatarUrl, userCommentsBlocked = userCommentsBlocked, content = content, createdAt = createdAt, numLikes = numLikes, parentId = parentId?.value, reactionType = reactionType, userMentions = userMentions?.map(UserMention::toMentionState), )