From ab4416883a1ef83bb2f25f3cbb61be53d15b18ff Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 24 Mar 2021 00:38:25 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20baselink?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BaseLink/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/BaseLink/index.js b/src/components/BaseLink/index.js index 7f35cc7..9a3018d 100644 --- a/src/components/BaseLink/index.js +++ b/src/components/BaseLink/index.js @@ -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)