use indexer_service_protocol::{Account, AccountId}; use leptos::prelude::*; use leptos_router::components::A; /// Account preview component #[component] pub fn AccountPreview(account_id: AccountId, account: Account) -> impl IntoView { let account_id_str = account_id.to_string(); view! {
{move || { let Account { program_owner, balance, data, nonce } = &account; let program_id = program_owner.to_string(); view! { } .into_any() }}
} }