From 0eb3b3d47eed254d2f7cfabe4229812372948b69 Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Mon, 26 Jun 2023 17:33:21 -0700 Subject: [PATCH] fix render links assuming prelude was imported --- packages/router-macro/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/router-macro/src/lib.rs b/packages/router-macro/src/lib.rs index 48fe89472..f3c5ba8b0 100644 --- a/packages/router-macro/src/lib.rs +++ b/packages/router-macro/src/lib.rs @@ -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)*