diff --git a/client/src/components/browser.rs b/client/src/components/browser.rs index ae33049..f99f4f6 100644 --- a/client/src/components/browser.rs +++ b/client/src/components/browser.rs @@ -59,20 +59,21 @@ pub fn Browser() -> impl IntoView { - won't update the children if the id doesn't change + {game_browser_context() + .iter() + .cloned() + .map(|game| { view! { + { + logging::log!("I ran"); + } - {&game.name} - {&game.host} - - {&game.players.to_string()} - - - {&game.packs.len().to_string()} - + {game.name} + {game.host} + {game.players} + {game.packs.len()}