Fix meta and router tests

This commit is contained in:
Greg Johnston 2022-11-21 22:45:56 -05:00
parent 10d19f7fb3
commit 2651bf5fef
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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));
/// # });