summaryrefslogtreecommitdiff
path: root/webapp/src/components/trick_in_play.rs
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components/trick_in_play.rs')
-rw-r--r--webapp/src/components/trick_in_play.rs14
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)]