Add provide_context to router example

This commit is contained in:
Ben Wishovich 2022-11-14 13:37:58 -08:00
parent 482c84dc73
commit 74b2889e8a
2 changed files with 2 additions and 0 deletions

View file

@ -11,6 +11,7 @@ leptos_router = { path = "../../router" }
serde = { version = "1", features = ["derive"] }
futures = "0.3"
console_error_panic_hook = "0.1.7"
leptos_meta = { path = "../../../leptos/meta", default-features = false }
[dev-dependencies]
wasm-bindgen-test = "0.3.0"

View file

@ -2,6 +2,7 @@ mod api;
use api::{Contact, ContactSummary};
use leptos::*;
use leptos_meta::*;
use leptos_router::*;
use crate::api::{get_contact, get_contacts};