diff --git a/apps/drive-web/src/directories/directory-path-breadcrumb.tsx b/apps/drive-web/src/directories/directory-path-breadcrumb.tsx
index ff3a118..1a9c5fc 100644
--- a/apps/drive-web/src/directories/directory-path-breadcrumb.tsx
+++ b/apps/drive-web/src/directories/directory-path-breadcrumb.tsx
@@ -52,9 +52,9 @@ export function DirectoryPathBreadcrumb({
const breadcrumbItems: React.ReactNode[] = [
,
@@ -65,7 +65,6 @@ export function DirectoryPathBreadcrumb({
@@ -88,12 +87,12 @@ export function DirectoryPathBreadcrumb({
function FilePathBreadcrumbItem({
segment,
- rootLabel,
+ label,
directoryUrlFn,
fileDragInfoAtom,
}: {
segment: PathSegment
- rootLabel: string
+ label?: string
directoryUrlFn: (directoryId: string) => string
fileDragInfoAtom: PrimitiveAtom
}) {
@@ -102,7 +101,7 @@ function FilePathBreadcrumbItem({
dragInfoAtom: fileDragInfoAtom,
})
- const dirName = segment.name || rootLabel
+ const dirName = label || segment.name
return (