Skip to content

Commit

Permalink
[Vaults UI] Bump sparkle + use new Breadcrumbs component (#6938)
Browse files Browse the repository at this point in the history
* [Vaults UI] Bump sparkle + use new Breadcrumbs component

Description
---
Follow-up of #6934

Risk
---
low

Deploy
---
front

* fix
  • Loading branch information
philipperolet authored Aug 27, 2024
1 parent 6ba20bd commit 8e4bcad
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 59 deletions.
51 changes: 0 additions & 51 deletions front/components/vaults/Breadcrumb.tsx

This file was deleted.

10 changes: 7 additions & 3 deletions front/components/vaults/VaultLayout.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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";
Expand Down Expand Up @@ -147,7 +151,7 @@ function VaultBreadCrumbs({

return (
<div className="pb-8">
<BreadCrumb items={items} />
<Breadcrumbs items={items} />
</div>
);
}
8 changes: 4 additions & 4 deletions front/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8e4bcad

Please sign in to comment.