From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/header/account-setting/plugin-page/index.tsx | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/components/header/account-setting/plugin-page/index.tsx b/app/components/header/account-setting/plugin-page/index.tsx
index bf404b0..62a4265 100644
--- a/app/components/header/account-setting/plugin-page/index.tsx
+++ b/app/components/header/account-setting/plugin-page/index.tsx
@@ -10,7 +10,7 @@
const { t } = useTranslation()
const { data: plugins, mutate } = useSWR('/workspaces/current/tool-providers', fetchPluginProviders)
- const Plugin_MAP: Record<string, (plugin: PluginProvider) => React.JSX.Element> = {
+ const Plugin_MAP: Record<string, (plugin: PluginProvider) => JSX.Element> = {
serpapi: (plugin: PluginProvider) => <SerpapiPlugin key='serpapi' plugin={plugin} onUpdate={() => mutate()} />,
}
@@ -19,11 +19,11 @@
<div>
{plugins?.map(plugin => Plugin_MAP[plugin.tool_name](plugin))}
</div>
- <div className='fixed bottom-0 flex h-[42px] w-[472px] items-center bg-white text-xs text-gray-500'>
- <LockClosedIcon className='mr-1 h-3 w-3' />
+ <div className='fixed bottom-0 w-[472px] h-[42px] flex items-center bg-white text-xs text-gray-500'>
+ <LockClosedIcon className='w-3 h-3 mr-1' />
{t('common.provider.encrypted.front')}
<Link
- className='mx-1 text-primary-600'
+ className='text-primary-600 mx-1'
target='_blank' rel='noopener noreferrer'
href='https://pycryptodome.readthedocs.io/en/latest/src/cipher/oaep.html'
>
--
Gitblit v1.8.0