diff options
Diffstat (limited to 'webapp/src/components/table.rs')
-rw-r--r-- | webapp/src/components/table.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webapp/src/components/table.rs b/webapp/src/components/table.rs index c1b4b47..9f2cbb3 100644 --- a/webapp/src/components/table.rs +++ b/webapp/src/components/table.rs @@ -82,7 +82,7 @@ impl OnlineTableInner { <div class="sidebar"> <div> <h2>{"Contract"}</h2> - <p>{format!("todo")}</p> + <p>{"todo"}</p> </div> <div> <h2>{"Bidding"}</h2> @@ -90,7 +90,7 @@ impl OnlineTableInner { </div> <div> <h2>{"Trick Count"}</h2> - <p>{format!("todo")}</p> + <p>{"todo"}</p> </div> </div> <div class="center"> @@ -222,7 +222,7 @@ impl Component for OnlineTableInner { fn view(&self, ctx: &yew::Context<Self>) -> Html { match &self.table_state { - None => return loading(), + None => loading(), Some(TableStatePlayerView::Unknown) => html! { <p>{"An error occurred."}</p> }, @@ -250,7 +250,7 @@ pub fn bidding_view( </div> <div class="center"> <BiddingTable bidding={bidding.bidding.clone()} /> - <BiddingBox current_bid={bidding.bidding.highest_bid().clone()} on_bid={ on_bid } /> + <BiddingBox current_bid={bidding.bidding.highest_bid()} on_bid={ on_bid } /> { format!("It is {:?} to bid", bidding.bidding.current_bidder()) } </div> <div class="hand south"> |