wip: move some examples around
This commit is contained in:
1 parent
cca7c5fc3a
commit
98a09339fd
70 files changed
+111
-117
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ fn main() {}
|
||||
use dioxus::prelude::*;
|
||||
|
||||
pub static ExampleReducer: FC<()> = |cx| {
|
||||
let (state, reduce) = use_reducer(&cx, PlayerState::new, PlayerState::reduce);
|
||||
let (state, reduce) = use_reducer(cx, PlayerState::new, PlayerState::reduce);
|
||||
|
||||
let is_playing = state.is_playing();
|
||||
|
||||
|
||||
Reference in new issue
Block a user