From 824c12e0d36692bef7bbe7e0bbd9674c73e749af Mon Sep 17 00:00:00 2001 From: Dylan Decrulle Date: Wed, 12 Jun 2024 22:08:13 +0200 Subject: [PATCH] header: correct code --- src/shared/components/Layout/Header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/Layout/Header.tsx b/src/shared/components/Layout/Header.tsx index d02b2859..757932f3 100644 --- a/src/shared/components/Layout/Header.tsx +++ b/src/shared/components/Layout/Header.tsx @@ -12,7 +12,7 @@ export function Header() { const { isUserLoggedIn, logout } = useOidc() /** - * There is an issue with this part of code, search is not will type inferred with isCollectRoute, waiting for better solution + * There is an issue with this part of the code: the search type is not well narrowed with isCollectRoute. I'm waiting for a better solution. */ const matchRoute = useMatchRoute() const isCollectRoute = !!matchRoute({ to: collectPath })