prevent iterating nonexistent list

This commit is contained in:
Adam 2024-08-28 21:13:26 -04:00
parent d1054ed672
commit 2ae4b60ed4

View file

@ -190,7 +190,7 @@ pub fn Game() -> impl IntoView {
// Judging view //
<Show when=move || { judging() && connected() }>
<Show when=move || { judging() && connected() && game_meta().is_some() }>
<div class="w-full ms-16 inline-flex flex-wrap">
<BlackCard card_data=game_meta().unwrap().black />