rm unused code
This commit is contained in:
parent
050e606b2a
commit
a78974bc2f
1 changed files with 0 additions and 7 deletions
|
@ -18,13 +18,6 @@ fn Meta() -> impl IntoView {
|
|||
#[component]
|
||||
fn Scoreboard() -> impl IntoView {
|
||||
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! {
|
||||
<Show when=move || { game_meta().is_some() }>
|
||||
|
|
Loading…
Add table
Reference in a new issue