Updated dependencies; fixes some TS issues uncovered by update
This commit is contained in:
@@ -10,7 +10,7 @@ const ROOT_PATH = '/';
|
||||
export function isRouteActive(
|
||||
path: string,
|
||||
currentPath: string,
|
||||
end?: boolean | ((path: string) => boolean) | undefined,
|
||||
end?: boolean | ((path: string) => boolean),
|
||||
) {
|
||||
// if the path is the same as the current path, we return true
|
||||
if (path === currentPath) {
|
||||
|
||||
Reference in New Issue
Block a user