Removed excess clone in Card component

This commit is contained in:
2026-02-01 10:23:34 +01:00
parent b141e134d4
commit 5e4b78f353
-2
View File
@@ -15,8 +15,6 @@ fn App(cx: &Arc<Context>) -> View {
#[component]
fn Card(cx: &Arc<Context>, content: String) -> View {
let content = content.clone();
rsx! {
"----\n{content}\n----"
}