diff --git a/client/src/components/websocket.rs b/client/src/components/websocket.rs index efd8a63..8ef76d4 100644 --- a/client/src/components/websocket.rs +++ b/client/src/components/websocket.rs @@ -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::(message) { + if let Ok(game) = serde_json::from_str::(message) { logging::log!("Game object received."); } else if let Ok(state_summary) = serde_json::from_str::(message)