Skip to content

Commit

Permalink
header: correct code
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Jun 12, 2024
1 parent f0003b4 commit 824c12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/components/Layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 824c12e

Please sign in to comment.