fix: apply into_any on pages that will not compile

This is a production-only build failure due to type explosion.
This commit is contained in:
alphafetus committed 2026-01-16 08:54:41 -05:00
1 parent 0b4aae4db3
commit 84212d2360
6 files changed
+27 -33

No files matched your search

+1 -3
View File
@@ -24,7 +24,6 @@ use leptos::task::spawn_local;
use leptos::web_sys::HtmlAnchorElement;
use leptos::wasm_bindgen::JsCast;
use std::collections::HashMap;
use crate::pages::api::get_comparisons_categorized;
use crate::utils::get_user_claims;
/// # Get Student Info
@@ -363,8 +362,7 @@ pub fn HomePage() -> impl IntoView {
</Row>
}
})
}}
<Row>
}} <Row>
<ActionButton on:click=pdf_button_click>"Get PDF"</ActionButton>
</Row>
</Suspense>
+1 -1
View File
@@ -609,7 +609,7 @@ fn ScholarshipForm(
items=vec![
"Write an essay describing your major/career direction. Include any abilities, interests, experiences, employment or clubs you have had that have affected your direction. If you are undecided, indicate why.",
"Why is community service important? How has it personally affected you and your goals and what role do you hope to play in it in the future?",
"How has participation in sports been beneficial to your personal, academic, and emotional growth?"
"How has participation in sports been beneficial to your personal, academic, and emotional growth?",
]
.iter()
.map(|prompt| prompt.to_string())
+2 -5
View File
@@ -1,8 +1,5 @@
use chrono::DateTime;
use crate::common::{DateInfo, DateRange};
use crate::components::{ActionButton, DashboardButton, DateList};
use crate::components::DashboardButton;
use leptos::prelude::*;
use crate::pages::api::{get_important_dates, CreateDates};
#[component]
pub fn TestPage() -> impl IntoView {
@@ -44,5 +41,5 @@ pub fn TestPage() -> impl IntoView {
</div>
</div>
</div>
}
}.into_any()
}