minor-fix

This commit is contained in:
Untone 2024-02-16 19:22:50 +03:00
parent f482856cca
commit c706915d7d

View File

@ -17,7 +17,7 @@ type Props = {
export const Link = (props: Props) => {
const { page } = useRouter()
const isSelected = page().route === props.routeName
const isSelected = page()?.route === props.routeName
return (
<li
onClick={props.onClick}