mirror of
https://github.com/leptos-rs/book.git
synced 2025-12-27 07:35:38 -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()
|
||||
.leptos_routes_with_context(
|
||||
&app_state,
|
||||
&leptos_options,
|
||||
routes,
|
||||
move || provide_context(connection_pool.clone()),
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user