No need to remember createdAts
This commit is contained in:
@@ -33,7 +33,7 @@ import com.vitorpamplona.amethyst.ui.theme.placeholderText
|
||||
|
||||
@Composable
|
||||
fun TimeAgo(note: Note) {
|
||||
val time = remember(note) { note.createdAt() } ?: return
|
||||
val time = note.createdAt() ?: return
|
||||
TimeAgo(time)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user