Skip to content

Commit

Permalink
[front] - refactor: update @dust-tt/sparkle package and remove redund…
Browse files Browse the repository at this point in the history
…ant 'clickable' property

 - Bumped the @dust-tt/sparkle package version from 0.2.197 to 0.2.198
 - Simplified data source items by removing the unnecessary 'clickable' property since all items are intended to be clickable
  • Loading branch information
Jules authored and Jules committed Aug 1, 2024
1 parent ce1e147 commit c20531b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
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.197",
"@dust-tt/sparkle": "^0.2.198",
"@dust-tt/types": "file:../types",
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/react": "^1.1.1",
Expand Down
1 change: 0 additions & 1 deletion front/pages/w/[wId]/builder/data-sources/public-urls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export default function DataSourcesView({
const clickableDataSources = useMemo(() => {
return dataSources.map((dataSource) => ({
...dataSource,
clickable: true,
onClick: () => {
void router.push(
`/w/${owner.sId}/builder/data-sources/${dataSource.name}`
Expand Down
1 change: 0 additions & 1 deletion front/pages/w/[wId]/builder/data-sources/static.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export default function DataSourcesView({
const clickableDataSources = useMemo(() => {
return dataSources.map((dataSource) => ({
...dataSource,
clickable: true,
onClick: () => {
void router.push(
`/w/${owner.sId}/builder/data-sources/${dataSource.name}`
Expand Down

0 comments on commit c20531b

Please sign in to comment.