links styling fix (no underline)
This commit is contained in:
@@ -6,5 +6,5 @@ export function Route(props: PropsWithChildren & {path: Path}) {
|
||||
const {path, children} = props;
|
||||
const router = useRouter();
|
||||
|
||||
return router.current === path ? <>{children}</> : <></>
|
||||
return router.current.toLowerCase() === path ? <>{children}</> : <></>
|
||||
}
|
||||
Reference in New Issue
Block a user