fix render links assuming prelude was imported

This commit is contained in:
Evan Almloff 2023-06-26 17:33:21 -07:00
parent 2da1f7faa7
commit 0eb3b3d47e

View file

@ -484,7 +484,7 @@ impl RouteEnum {
#(#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();
match (level, myself) {
#(#matches)*