add type for clarity

This commit is contained in:
Adam 2024-02-13 22:10:31 -05:00
parent 82086814f5
commit bbeb44c12f

View file

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