From 6cba6e782c08350defefce14f65f5b19ce2b1023 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Fri, 23 Dec 2022 08:41:35 -0500 Subject: Display current trick with the TrickInPlay component --- webapp/src/components/trick_in_play.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'webapp/src/components/trick_in_play.rs') diff --git a/webapp/src/components/trick_in_play.rs b/webapp/src/components/trick_in_play.rs index c68239e..5400b49 100644 --- a/webapp/src/components/trick_in_play.rs +++ b/webapp/src/components/trick_in_play.rs @@ -12,6 +12,7 @@ pub fn trick_in_play(props: &TrickInPlayProps) -> Html { html! { <>

{ format!("Leader: {:?}", props.in_progress.leader()) }

+

{ format!("It is {:?} to play", props.in_progress.current_player()) }

{ for cards } } -- cgit v1.2.3