stop complaining

This commit is contained in:
Adam 2024-07-24 20:36:25 -04:00
parent d31f790e81
commit 0679e8b672

View file

@ -88,7 +88,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)