mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
Fix meta and router tests
This commit is contained in:
parent
10d19f7fb3
commit
2651bf5fef
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ impl MetaContext {
|
|||
/// use leptos_meta::*;
|
||||
///
|
||||
/// # #[cfg(not(any(feature = "csr", feature = "hydrate")))] {
|
||||
/// run_scope(|cx| {
|
||||
/// run_scope(create_runtime(), |cx| {
|
||||
/// provide_context(cx, MetaContext::new());
|
||||
///
|
||||
/// let app = view! { cx,
|
||||
|
|
|
@ -119,7 +119,7 @@ impl History for BrowserIntegration {
|
|||
/// ```
|
||||
/// # use leptos_router::*;
|
||||
/// # use leptos::*;
|
||||
/// # run_scope(|cx| {
|
||||
/// # run_scope(create_runtime(), |cx| {
|
||||
/// let integration = ServerIntegration { path: "insert/current/path/here".to_string() };
|
||||
/// provide_context(cx, RouterIntegrationContext::new(integration));
|
||||
/// # });
|
||||
|
|
Loading…
Reference in a new issue