Fix the router and stub out a number of crates to get compiling
This commit is contained in:
226 files changed
+1057
-1482
No files matched your search
@@ -10,10 +10,10 @@ fn main() {
|
||||
dioxus_desktop::launch_cfg(app, cfg);
|
||||
}
|
||||
|
||||
fn app(cx: Scope) -> Element {
|
||||
let focused = use_state(cx, || false);
|
||||
fn app() -> Element {
|
||||
let focused = use_state(|| false);
|
||||
|
||||
use_wry_event_handler(cx, {
|
||||
use_wry_event_handler({
|
||||
to_owned![focused];
|
||||
move |event, _| {
|
||||
if let WryEvent::WindowEvent {
|
||||
|
||||
Reference in new issue
Block a user