diff --git a/front/components/vaults/Breadcrumb.tsx b/front/components/vaults/Breadcrumb.tsx
deleted file mode 100644
index 24453876b5472..0000000000000
--- a/front/components/vaults/Breadcrumb.tsx
+++ /dev/null
@@ -1,51 +0,0 @@
-import { ChevronRightIcon, Icon } from "@dust-tt/sparkle";
-import Link from "next/link";
-import type { ComponentType } from "react";
-import React from "react";
-
-type BreadcrumbProps = {
- items: {
- label: string;
- icon?: ComponentType<{ className?: string }>;
- href?: string;
- }[];
-};
-
-export const BreadCrumb = ({ items }: BreadcrumbProps) => {
- return (
-
- {items.map((item, index) => (
-
-
-
- {item.href ? (
-
- {item.label}
-
- ) : (
-
- {item.label}
-
- )}
-
- {index === items.length - 1 ? null : (
-
- )}
-
- ))}
-
- );
-};
diff --git a/front/components/vaults/VaultLayout.tsx b/front/components/vaults/VaultLayout.tsx
index d48c770da7541..be1e8fc4266db 100644
--- a/front/components/vaults/VaultLayout.tsx
+++ b/front/components/vaults/VaultLayout.tsx
@@ -1,4 +1,9 @@
-import { CompanyIcon, FolderIcon, LockIcon } from "@dust-tt/sparkle";
+import {
+ Breadcrumbs,
+ CompanyIcon,
+ FolderIcon,
+ LockIcon,
+} from "@dust-tt/sparkle";
import type {
DataSourceViewCategory,
DataSourceViewType,
@@ -11,7 +16,6 @@ import React, { useState } from "react";
import RootLayout from "@app/components/app/RootLayout";
import AppLayout from "@app/components/sparkle/AppLayout";
-import { BreadCrumb } from "@app/components/vaults/Breadcrumb";
import { CreateVaultModal } from "@app/components/vaults/CreateVaultModal";
import { CATEGORY_DETAILS } from "@app/components/vaults/VaultCategoriesList";
import VaultSideBarMenu from "@app/components/vaults/VaultSideBarMenu";
@@ -147,7 +151,7 @@ function VaultBreadCrumbs({
return (
-
+
);
}
diff --git a/front/package-lock.json b/front/package-lock.json
index cf75a6a29ca5e..26026cda213aa 100644
--- a/front/package-lock.json
+++ b/front/package-lock.json
@@ -9,7 +9,7 @@
"@amplitude/analytics-browser": "^2.5.2",
"@amplitude/analytics-node": "^1.3.5",
"@auth0/nextjs-auth0": "^3.5.0",
- "@dust-tt/sparkle": "^0.2.213",
+ "@dust-tt/sparkle": "^0.2.214",
"@dust-tt/types": "file:../types",
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/react": "^1.1.1",
@@ -10735,9 +10735,9 @@
"license": "Apache-2.0"
},
"node_modules/@dust-tt/sparkle": {
- "version": "0.2.213",
- "resolved": "https://registry.npmjs.org/@dust-tt/sparkle/-/sparkle-0.2.213.tgz",
- "integrity": "sha512-4OY8zK3Yy7tAX8wDfVeOAi2J5yJLrsUke5EmRDetYFnV9JstHAj9UWF7ZXfxGDuVbR814pmUuSkVuKXMFfuY6w==",
+ "version": "0.2.214",
+ "resolved": "https://registry.npmjs.org/@dust-tt/sparkle/-/sparkle-0.2.214.tgz",
+ "integrity": "sha512-tiAtg/9eo08e2m5nNaa8KaQZTnzfPKHawVRrkeflblulHVaWnxa11ZWcwUIMX6U4w8MLQnt0mE3D+CiiKXaVqw==",
"dependencies": {
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/react": "^1.1.1",
diff --git a/front/package.json b/front/package.json
index 6f6b8e2be5abe..e719aba94ec39 100644
--- a/front/package.json
+++ b/front/package.json
@@ -21,7 +21,7 @@
"@amplitude/analytics-browser": "^2.5.2",
"@amplitude/analytics-node": "^1.3.5",
"@auth0/nextjs-auth0": "^3.5.0",
- "@dust-tt/sparkle": "^0.2.213",
+ "@dust-tt/sparkle": "^0.2.214",
"@dust-tt/types": "file:../types",
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/react": "^1.1.1",