diff options
| author | Dhravya Shah <[email protected]> | 2024-07-22 22:44:18 -0500 |
|---|---|---|
| committer | Dhravya Shah <[email protected]> | 2024-07-22 22:44:18 -0500 |
| commit | cf1eeb86c34c92afd973defcada9841f87eeffa0 (patch) | |
| tree | bc2ce3f6516ef76c117f9ed6b6b0f258acb79047 /apps/web/app/(dash)/header | |
| parent | Merge pull request #133 from aryasaatvik/lockfile (diff) | |
| download | supermemory-cf1eeb86c34c92afd973defcada9841f87eeffa0.tar.xz supermemory-cf1eeb86c34c92afd973defcada9841f87eeffa0.zip | |
added ability to use pro mode, to do complex timeseries/location searches
Diffstat (limited to 'apps/web/app/(dash)/header')
| -rw-r--r-- | apps/web/app/(dash)/header/autoBreadCrumbs.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/web/app/(dash)/header/autoBreadCrumbs.tsx b/apps/web/app/(dash)/header/autoBreadCrumbs.tsx index a823671c..671464ff 100644 --- a/apps/web/app/(dash)/header/autoBreadCrumbs.tsx +++ b/apps/web/app/(dash)/header/autoBreadCrumbs.tsx @@ -13,8 +13,6 @@ import React from "react"; function AutoBreadCrumbs() { const pathname = usePathname(); - console.log(pathname.split("/").filter(Boolean)); - return ( <Breadcrumb className="hidden md:block"> <BreadcrumbList> @@ -31,7 +29,7 @@ function AutoBreadCrumbs() { .filter(Boolean) .map((path, idx, paths) => ( <> - <BreadcrumbItem key={path}> + <BreadcrumbItem key={path + idx}> <BreadcrumbLink href={`/${paths.slice(0, idx + 1).join("/")}`}> {path.charAt(0).toUpperCase() + path.slice(1)} </BreadcrumbLink> |