chore: rename all &cx to cx, make clipppy happy
This commit is contained in:
1 parent
e8133e9449
commit
4eefc3f854
85 files changed
+256
-271
No files matched your search
@@ -406,8 +406,8 @@ enum Patch {
|
||||
```
|
||||
|
||||
```rust
|
||||
let node_ref = use_node_ref(&cx);
|
||||
use_effect(&cx, || {
|
||||
let node_ref = use_node_ref(cx);
|
||||
use_effect(cx, || {
|
||||
|
||||
}, []);
|
||||
div { ref: node_ref,
|
||||
|
||||
Reference in new issue
Block a user