Update +page.markdoc

This commit is contained in:
Aniruddha Roy
2025-04-21 14:19:55 +06:00
committed by GitHub
parent 4e920f0bea
commit a035f49bc1

View File

@@ -106,7 +106,7 @@ fun IdeasScreen(
Column(modifier = Modifier.padding(16.dp)) {
Text(text = idea.data["title"]?.toString() ?: "", fontWeight = FontWeight(700))
Text(text = idea.data["description"]?.toString() ?: "")
if (user?.id == idea.data["userId"].toString())
if (user?.id == idea.data["userId"])
Button(onClick = { onRemove(idea.id) }) {
Text("Remove")
}