refactor: blob 이미지 가져오는 방식 수정
This commit is contained in:
@@ -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 }) {
|
||||
|
||||
Reference in New Issue
Block a user