fix components that take no arguments
This commit is contained in:
1 parent
404c864246
commit
1794debf79
24 files changed
+98
-78
No files matched your search
@@ -132,7 +132,7 @@ impl Runtime {
|
||||
/// }
|
||||
///
|
||||
/// fn Component(cx: Scope<ComponentProps>) -> Element {
|
||||
/// cx.use_hook(|| RuntimeGuard::new(cx.props.runtime.clone()));
|
||||
/// cx.use_hook(|| RuntimeGuard::new(cx.runtime.clone()));
|
||||
///
|
||||
/// render! { div {} }
|
||||
/// }
|
||||
|
||||
Reference in new issue
Block a user