Removed excess clone in Card component
This commit is contained in:
@@ -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----"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user