mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-23 03:54:21 +00:00
🐛 Fix baselink
This commit is contained in:
parent
b3b3ef0f12
commit
ab4416883a
1 changed files with 1 additions and 2 deletions
|
@ -7,8 +7,7 @@ import {Link, useRouteMatch} from "react-router-dom"
|
||||||
export default function BaseLink({children, className, href, disabled, ...props}) {
|
export default function BaseLink({children, className, href, disabled, ...props}) {
|
||||||
const locationMatch = useRouteMatch({
|
const locationMatch = useRouteMatch({
|
||||||
path: href,
|
path: href,
|
||||||
strict: true,
|
exact: true,
|
||||||
sensitive: true,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const activeClassNames = useBluelibClassNames("style-bold", className)
|
const activeClassNames = useBluelibClassNames("style-bold", className)
|
||||||
|
|
Loading…
Reference in a new issue