From 89344c6042d96baca2f3a80a61096ba2d735a9fd Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Mon, 26 Aug 2024 23:54:47 -0400 Subject: [PATCH] clean up stuff on disconnect --- client/src/components/browser.rs | 342 +++++++++++++++-------------- client/src/components/websocket.rs | 14 +- 2 files changed, 185 insertions(+), 171 deletions(-) diff --git a/client/src/components/browser.rs b/client/src/components/browser.rs index e64ebea..ef46a00 100644 --- a/client/src/components/browser.rs +++ b/client/src/components/browser.rs @@ -60,185 +60,187 @@ pub fn Browser() -> impl IntoView { view! {
Name | -Host | -Players | -Card Packs | -- |
---|---|---|---|---|
{&game.name} | -{&game.host} | -- {&game.players.to_string()} - | -- {&game.packs.len().to_string()} - | -- - - | -
Name | +Host | +Players | +Card Packs | ++ | {&game.name} | +{&game.host} | ++ {&game.players.to_string()} + | ++ {&game.packs.len().to_string()} + | ++ + + | + + } } - }) - .collect_view() - }} - -
---|