cleanup
This commit is contained in:
parent
fe037ef50e
commit
59ec512fee
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ pub fn Websocket() -> impl IntoView {
|
|||
// Send all messages as strings into chat box
|
||||
|
||||
if let Some(message) = message_raw {
|
||||
if let Ok(_game) = serde_json::from_str::<Game>(message) {
|
||||
if let Ok(game) = serde_json::from_str::<Game>(message) {
|
||||
logging::log!("Game object received.");
|
||||
} else if let Ok(state_summary) =
|
||||
serde_json::from_str::<ServerStateSummary>(message)
|
||||
|
|
Loading…
Add table
Reference in a new issue