add type for clarity
This commit is contained in:
parent
82086814f5
commit
bbeb44c12f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ async fn main() {
|
||||||
let addr = leptos_options.site_addr;
|
let addr = leptos_options.site_addr;
|
||||||
let routes = generate_route_list(App);
|
let routes = generate_route_list(App);
|
||||||
|
|
||||||
let pool = start_pool().await.expect("pool error");
|
let pool: sqlx::SqlitePool = start_pool().await.expect("pool error");
|
||||||
|
|
||||||
let app = Router::new()
|
let app = Router::new()
|
||||||
.leptos_routes_with_context(
|
.leptos_routes_with_context(
|
||||||
|
|
Loading…
Add table
Reference in a new issue