⬆️ Update the components to take the dioxus 0.5 rework into account
This commit is contained in:
@@ -2,9 +2,9 @@ use dioxus::prelude::*;
|
||||
|
||||
turf::style_sheet!("src/components/chats_window/edit_section.scss");
|
||||
|
||||
pub fn EditSection(cx: Scope) -> Element {
|
||||
cx.render(rsx! {
|
||||
style { STYLE_SHEET },
|
||||
pub fn EditSection() -> Element {
|
||||
rsx! {
|
||||
style { {STYLE_SHEET} },
|
||||
|
||||
div {
|
||||
class: ClassName::INPUT_AREA,
|
||||
@@ -48,5 +48,5 @@ pub fn EditSection(cx: Scope) -> Element {
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user