Skip to content
This repository was archived by the owner on Jul 19, 2020. It is now read-only.

Commit 01cc404

Browse files
jstarrygitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent d492982 commit 01cc404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/concepts/components/refs.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ self.node_ref = NodeRef::default();
1818

1919
// In view
2020
html! {
21-
<div ref=&self.node_ref></div>
21+
<div ref=self.node_ref.clone()></div>
2222
}
2323

2424
// In update

0 commit comments

Comments
 (0)