rm unused code

This commit is contained in:
Adam 2024-09-02 16:14:44 -04:00
parent 050e606b2a
commit a78974bc2f

View file

@ -18,13 +18,6 @@ fn Meta() -> impl IntoView {
#[component] #[component]
fn Scoreboard() -> impl IntoView { fn Scoreboard() -> impl IntoView {
let game_meta = expect_context::<ReadSignal<Option<GameStateMeta>>>(); let game_meta = expect_context::<ReadSignal<Option<GameStateMeta>>>();
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! { view! {
<Show when=move || { game_meta().is_some() }> <Show when=move || { game_meta().is_some() }>