⬆️ Update the components to take the dioxus 0.5 rework into account
This commit is contained in:
@@ -2,14 +2,13 @@ use dioxus::prelude::*;
|
||||
|
||||
turf::style_sheet!("src/components/header.scss");
|
||||
|
||||
pub fn Header(cx: Scope) -> Element {
|
||||
cx.render(rsx! {
|
||||
style { STYLE_SHEET },
|
||||
pub fn Header() -> Element {
|
||||
rsx! {
|
||||
style { {STYLE_SHEET} },
|
||||
|
||||
div {
|
||||
class: ClassName::ROOT,
|
||||
img {
|
||||
// src: "./assets/live-logo2.png"
|
||||
src: "./images/logo-msn.png"
|
||||
}
|
||||
svg {
|
||||
@@ -22,5 +21,5 @@ pub fn Header(cx: Scope) -> Element {
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user