feat: router crate is polished up

This commit is contained in:
Jonathan Kelley committed 2022-03-04 13:16:37 -05:00
1 parent 60b11081f2
commit cc83900334
12 files changed
+341 -260

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ pub fn Link<'a>(cx: Scope<'a, LinkProps<'a>>) -> Element {
onclick: move |_| {
if !outerlink {
if let Some(service) = svc {
service.push_route(to);
service.push_route(to, cx.props.title.map(|f| f.to_string()), None);
} else {
log::error!(
"Attempted to create a Link to {} outside of a Router context",