aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/(dash)/header
diff options
context:
space:
mode:
authorDhravya Shah <[email protected]>2024-07-22 22:44:18 -0500
committerDhravya Shah <[email protected]>2024-07-22 22:44:18 -0500
commitcf1eeb86c34c92afd973defcada9841f87eeffa0 (patch)
treebc2ce3f6516ef76c117f9ed6b6b0f258acb79047 /apps/web/app/(dash)/header
parentMerge pull request #133 from aryasaatvik/lockfile (diff)
downloadsupermemory-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.tsx4
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>