diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-06 19:47:58 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-06 19:47:58 -0400 |
commit | b10b534ab6507ed2c2d1a62d61f3213397a288e5 (patch) | |
tree | a4b51714e0fe7744ae4d550c1a84e48d81f0fcaa /webapp/src/components/trick_in_play.rs | |
parent | 806faef4b75173892ecea4ccd4a14178320c89a4 (diff) |
Run `cargo fmt`
Diffstat (limited to 'webapp/src/components/trick_in_play.rs')
-rw-r--r-- | webapp/src/components/trick_in_play.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/webapp/src/components/trick_in_play.rs b/webapp/src/components/trick_in_play.rs index c034d20..720fec0 100644 --- a/webapp/src/components/trick_in_play.rs +++ b/webapp/src/components/trick_in_play.rs @@ -1,6 +1,6 @@ -use yew::prelude::*; use crate::bridge_engine::TurnInPlay; use crate::components::Card; +use yew::prelude::*; #[function_component(TrickInPlay)] pub fn trick_in_play(props: &TrickInPlayProps) -> Html { @@ -9,12 +9,12 @@ pub fn trick_in_play(props: &TrickInPlayProps) -> Html { <Card card={ card.clone() } /> } }); -html! { - <> - <p>{ format!("Leader: {:?}", props.in_progress.leader()) }</p> - { for cards } - </> -} + html! { + <> + <p>{ format!("Leader: {:?}", props.in_progress.leader()) }</p> + { for cards } + </> + } } #[derive(PartialEq, Properties, Clone)] |