No need to remember createdAts

This commit is contained in:
Vitor Pamplona
2024-06-12 16:49:10 -04:00
parent 27f437020e
commit 0d00f2f80a
@@ -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)
}