From a78974bc2f48b017843f1819f79fff989cb9f269 Mon Sep 17 00:00:00 2001 From: Adam <24621027+WhiteDopeOnPunk@users.noreply.github.com> Date: Mon, 2 Sep 2024 16:14:44 -0400 Subject: [PATCH] rm unused code --- client/src/components/game/header.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/client/src/components/game/header.rs b/client/src/components/game/header.rs index 04380be..89f92ba 100644 --- a/client/src/components/game/header.rs +++ b/client/src/components/game/header.rs @@ -18,13 +18,6 @@ fn Meta() -> impl IntoView { #[component] fn Scoreboard() -> impl IntoView { let game_meta = expect_context::>>(); - let (czar_name, set_czar_name) = create_signal("".to_string()); - - create_effect(move |_| { - if let Some(meta) = game_meta() { - set_czar_name(meta.czar) - } - }); view! {