fix render links assuming prelude was imported

This commit is contained in:
Evan Almloff committed 2023-06-26 17:33:21 -07:00
1 parent 2da1f7faa7
commit 0eb3b3d47e
1 file changed
+1 -1
+1 -1
View File
@@ -484,7 +484,7 @@ impl RouteEnum {
#(#site_map,)* #(#site_map,)*
]; ];
fn render<'a>(&self, cx: &'a ScopeState, level: usize) -> Element<'a> { fn render<'a>(&self, cx: &'a dioxus::prelude::ScopeState, level: usize) -> dioxus::prelude::Element<'a> {
let myself = self.clone(); let myself = self.clone();
match (level, myself) { match (level, myself) {
#(#matches)* #(#matches)*