feat: optimize imports to remove warnings

This commit is contained in:
alphafetus committed 2026-01-05 15:56:28 -05:00
1 parent 9c7b7f1d4f
commit a2f69a83c2
16 files changed
+46 -109

No files matched your search

+9 -5
View File
@@ -3,15 +3,19 @@ use aws_sdk_dynamodb::{
types::AttributeValue,
error::ProvideErrorMetadata,
};
#[cfg(feature = "ssr")]
use leptos::leptos_dom::log;
use leptos::prelude::ServerFnError;
use leptos::server;
#[cfg(feature = "ssr")]
use uuid::Uuid;
use crate::common::{ExpandableInfo, ValueType};
#[cfg(feature = "ssr")]
use crate::pages::utils::server_utils::create_dynamo_client;
#[cfg(feature = "ssr")]
use crate::common::ValueType;
use crate::common::ExpandableInfo;
use leptos::prelude::ServerFnError;
use leptos::server;
#[server(GetScholarshipInfo, endpoint = "/scholarship/info/get")]
pub async fn get_scholarship_info(id: String) -> Result<ExpandableInfo, ServerFnError> {