use leptos::{IntoView, component, view};
use crate::{
api::get_products,
components::{async_fetch::AsyncFetch, container::Container, icon_p::IconP},
};
#[component]
pub fn ProductOverview() -> impl IntoView {
view! {
{format!( "You have {products_num} product{plural_s} \ in stock with a value \ of {products_value} {products_currency}.", )}
} } } } } }