fix ssr tests
This commit is contained in:
1 parent
b039d6acc0
commit
16d5d00bdf
8 files changed
+36
-32
No files matched your search
@@ -130,7 +130,7 @@ impl Runtime {
|
||||
/// }
|
||||
///
|
||||
/// // In a dynamic library
|
||||
/// #[derive(Props)]
|
||||
/// #[derive(Props, Clone)]
|
||||
/// struct ComponentProps {
|
||||
/// runtime: std::rc::Rc<Runtime>,
|
||||
/// }
|
||||
|
||||
@@ -251,8 +251,6 @@ impl ScopeContext {
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
/// use dioxus_core::ScopeState;
|
||||
///
|
||||
/// // prints a greeting on the initial render
|
||||
/// pub fn use_hello_world() {
|
||||
/// cx.use_hook(|| println!("Hello, world!"));
|
||||
|
||||
Reference in new issue
Block a user