use leptos::{IntoView, component, view};
use rocie_client::models::{Unit, UnitProperty};
use crate::{
api::{unit_properties_wrapped, units_wrapped},
components::{async_fetch::AsyncFetch, container::Container, icon_p::IconP},
};
#[component]
pub fn UnitOverview() -> impl IntoView {
view! {
{move || format!( "You have {} units and {} unit properties.", units.len(), unit_properties.len() )}
} }, } } } } async fn get_units_and_unit_properties() -> Result<(Vec