diff options
Diffstat (limited to 'webapp/src/main.rs')
-rw-r--r-- | webapp/src/main.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/webapp/src/main.rs b/webapp/src/main.rs index 8f94899..be02013 100644 --- a/webapp/src/main.rs +++ b/webapp/src/main.rs @@ -6,7 +6,7 @@ pub mod bridge_engine; pub mod card; pub mod components; use bridge_engine::{Player, BiddingResult}; -use components::{BiddingTable, BiddingBox, Hand, HandProps}; +use components::{Bidding, Hand, HandProps}; extern crate wee_alloc; // Use `wee_alloc` as the global allocator. @@ -53,10 +53,7 @@ pub fn app() -> Html { html! { <> - <p>{ "Bidding table" }</p> - <BiddingTable bidding={ (*bidding_state).clone().bidding().clone() } /> - <p>{ "Bidding box" }</p> - <BiddingBox current_bid={ (*bidding_state).clone().bidding().highest_bid() } /> + <Bidding dealer={ Player::East } /> <p>{ "North" }</p> <Hand ..(*north).clone() /> <p>{ "West" }</p> |