mirror of
https://github.com/leptos-rs/book.git
synced 2025-12-27 10:01:41 -05:00
Update 26_extractors.md
This commit is contained in:
@@ -89,7 +89,7 @@ let connection_pool = /* some shared state here */;
|
|||||||
|
|
||||||
let app = Router::new()
|
let app = Router::new()
|
||||||
.leptos_routes_with_context(
|
.leptos_routes_with_context(
|
||||||
&app_state,
|
&leptos_options,
|
||||||
routes,
|
routes,
|
||||||
move || provide_context(connection_pool.clone()),
|
move || provide_context(connection_pool.clone()),
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user