diff --git a/packages/common/components/src/ui/lnb/index.tsx b/packages/common/components/src/ui/lnb/index.tsx index 30698d17f..650fd2474 100644 --- a/packages/common/components/src/ui/lnb/index.tsx +++ b/packages/common/components/src/ui/lnb/index.tsx @@ -63,7 +63,7 @@ export function LNB({ function isPathMatched(path: string) { if (!path) return false; - return currentPath === path; + return currentPath?.startsWith(path); } useEffect(() => {