refactor: blob 이미지 가져오는 방식 수정

This commit is contained in:
2025-04-08 10:39:04 +09:00
parent 2797ec210e
commit d6b48ea554
5 changed files with 28 additions and 11 deletions
@@ -37,7 +37,8 @@ export function LNB({
const [openMenuIds, setOpenMenuIds] = useState<number[]>([]);
function isPathMatched(path: string) {
return currentPath === path;
if (!path) return false;
return currentPath?.startsWith(path);
}
function MenuItem({ item }: { item: MenuItem }) {