chore: rename ctx to cx
This commit is contained in:
1 parent
23c14078bb
commit
81382e7044
99 files changed
+789
-664
No files matched your search
@@ -10,8 +10,8 @@ use dioxus_web::{prelude::*, WebsysRenderer};
|
||||
static APP_STYLE: &'static str = include_str!("./style.css");
|
||||
|
||||
fn main() {
|
||||
wasm_bindgen_futures::spawn_local(WebsysRenderer::start(|ctx| {
|
||||
ctx.render(rsx! {
|
||||
wasm_bindgen_futures::spawn_local(WebsysRenderer::start(|cx| {
|
||||
cx.render(rsx! {
|
||||
div {
|
||||
id: "app"
|
||||
// style { "{APP_STYLE}" }
|
||||
|
||||
Reference in new issue
Block a user