diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-12-23 08:41:35 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-12-23 08:41:35 -0500 |
commit | 6cba6e782c08350defefce14f65f5b19ce2b1023 (patch) | |
tree | a3c9c2d71ab65021c8b0d8a3b0a7382f336cf409 /webapp/src/components/trick_in_play.rs | |
parent | 997b81ca1f6926d628e41c405ef219e81000e1df (diff) |
Display current trick with the TrickInPlay component
Diffstat (limited to 'webapp/src/components/trick_in_play.rs')
-rw-r--r-- | webapp/src/components/trick_in_play.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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! { <> <p>{ format!("Leader: {:?}", props.in_progress.leader()) }</p> + <p>{ format!("It is {:?} to play", props.in_progress.current_player()) }</p> { for cards } </> } |