diff options
Diffstat (limited to 'webapp/src/components/table.rs')
-rw-r--r-- | webapp/src/components/table.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webapp/src/components/table.rs b/webapp/src/components/table.rs index ab95e10..92d862c 100644 --- a/webapp/src/components/table.rs +++ b/webapp/src/components/table.rs @@ -1,7 +1,7 @@ use std::future::Future; use std::pin::Pin; -use crate::components::{BiddingBox, BiddingTable, Hand}; +use crate::components::{BiddingBox, BiddingTable, Hand, TrickInPlay}; use crate::use_app_context; use crate::utils::ok_json; use anyhow::Context; @@ -145,8 +145,7 @@ pub fn playing_view( html! { <> <div class="center"> - <p>{format!("It is {:?} to play", playing.current_player())}</p> - <p>{format!("Current trick: {:?}", playing.current_trick)}</p> + <TrickInPlay in_progress={playing.current_trick.clone()}/> </div> <div class="hand north"> { dummy } |