fix ssr tests

This commit is contained in:
Evan Almloff committed 2024-01-15 11:12:24 -06:00
1 parent b039d6acc0
commit 16d5d00bdf
8 files changed
+36 -32

No files matched your search

+1 -1
View File
@@ -130,7 +130,7 @@ impl Runtime {
/// }
///
/// // In a dynamic library
/// #[derive(Props)]
/// #[derive(Props, Clone)]
/// struct ComponentProps {
/// runtime: std::rc::Rc<Runtime>,
/// }
-2
View File
@@ -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!"));