chore: clean up the repo some
This commit is contained in:
1 parent
5a0ae67ccb
commit
5673017def
13 files changed
+30
-27
No files matched your search
@@ -105,7 +105,7 @@ pub fn Link<'a>(cx: Scope<'a, LinkProps<'a>>) -> Element {
|
||||
}
|
||||
};
|
||||
|
||||
let route = use_route(&cx);
|
||||
let route = use_route(cx);
|
||||
let url = route.url();
|
||||
let path = url.path();
|
||||
let active = path == cx.props.to;
|
||||
|
||||
Reference in new issue
Block a user