diff --git a/web/app/components/header/account-setting/index.tsx b/web/app/components/header/account-setting/index.tsx index c31abc9009..257c060f5c 100644 --- a/web/app/components/header/account-setting/index.tsx +++ b/web/app/components/header/account-setting/index.tsx @@ -36,10 +36,6 @@ const iconClassName = ` w-5 h-5 mr-2 ` -const scrolledClassName = ` - border-b shadow-xs bg-white/[.98] -` - type IAccountSettingProps = { onCancel: () => void activeTab?: string diff --git a/web/app/components/plugins/plugin-detail-panel/index.tsx b/web/app/components/plugins/plugin-detail-panel/index.tsx index fcc31b938d..d14c0d96be 100644 --- a/web/app/components/plugins/plugin-detail-panel/index.tsx +++ b/web/app/components/plugins/plugin-detail-panel/index.tsx @@ -62,13 +62,15 @@ const PluginDetailPanel: FC = ({ {!!detail.declaration.agent_strategy && } {!!detail.declaration.endpoint && } {!!detail.declaration.model && } -
- testChange(item)} - onDelete={testDelete} - /> -
+ {false && ( +
+ testChange(item)} + onDelete={testDelete} + /> +
+ )} )} diff --git a/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx b/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx new file mode 100644 index 0000000000..bbf5a8a1ef --- /dev/null +++ b/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx @@ -0,0 +1,13 @@ +import React from 'react' + +type Props = { + value: any[] +} + +const MultipleToolSelector = ({ value }: Props) => { + return ( +
+ ) +} + +export default MultipleToolSelector diff --git a/web/package.json b/web/package.json index 0dc8b5c0ee..9e5c025f74 100644 --- a/web/package.json +++ b/web/package.json @@ -67,7 +67,7 @@ "katex": "^0.16.11", "ky": "^1.7.2", "lamejs": "^1.2.1", - "lexical": "^0.16.0", + "lexical": "^0.18.0", "line-clamp": "^1.0.0", "lodash-es": "^4.17.21", "mermaid": "11.4.1", @@ -194,4 +194,4 @@ "eslint --fix" ] } -} \ No newline at end of file +} diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index 81070c0220..ef139d7426 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -143,8 +143,8 @@ importers: specifier: ^1.2.1 version: 1.2.1 lexical: - specifier: ^0.16.0 - version: 0.16.1 + specifier: ^0.18.0 + version: 0.18.0 line-clamp: specifier: ^1.0.0 version: 1.0.0