examples: fixup asset example
@@ -5,14 +5,10 @@ fn main() {
}
fn app(cx: Scope) -> Element {
- let (disabled, set_disabled) = use_state(&cx, || false);
-
cx.render(rsx! {
div {
- "hi"
- img {
- src: "examples/../../../assets/logo.png",
- }
+ "This should show an image:"
+ img { src: "examples/assets/logo.png", }
}
})
}
