cut out a number of changes from the hr PR (#2580)
This commit is contained in:
1 parent
9bf46968cd
commit
b30810e486
12 files changed
+89
-18
No files matched your search
+1
-1
@@ -20,7 +20,7 @@ fn app() -> Element {
|
||||
|
||||
// Add some cute animations if the radio is playing!
|
||||
div { class: if state.read().is_playing { "bounce" },
|
||||
"The radio is... ", {state.read().is_playing()}, "!"
|
||||
"The radio is... " {state.read().is_playing()} "!"
|
||||
}
|
||||
|
||||
button { id: "play", onclick: move |_| state.write().reduce(PlayerAction::Pause), "Pause" }
|
||||
|
||||
Reference in new issue
Block a user