From 865a3eb1066f5bb140a6ce603e1162460a336934 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 7 Sep 2022 09:54:27 -0400 Subject: Add interactive bidding component --- webapp/src/main.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'webapp/src/main.rs') 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! { <> -

{ "Bidding table" }

- -

{ "Bidding box" }

- +

{ "North" }

{ "West" }

-- cgit v1.2.3