1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00

🐛 Fix baselink

This commit is contained in:
Steffo 2021-03-24 00:38:25 +01:00
parent b3b3ef0f12
commit ab4416883a
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -7,8 +7,7 @@ import {Link, useRouteMatch} from "react-router-dom"
export default function BaseLink({children, className, href, disabled, ...props}) {
const locationMatch = useRouteMatch({
path: href,
strict: true,
sensitive: true,
exact: true,
})
const activeClassNames = useBluelibClassNames("style-bold", className)