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/api-based-extension-page/index.tsx | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/app/components/header/account-setting/api-based-extension-page/index.tsx b/app/components/header/account-setting/api-based-extension-page/index.tsx
index d16c4f2..4a0a540 100644
--- a/app/components/header/account-setting/api-based-extension-page/index.tsx
+++ b/app/components/header/account-setting/api-based-extension-page/index.tsx
@@ -5,7 +5,6 @@
} from '@remixicon/react'
import Item from './item'
import Empty from './empty'
-import Button from '@/app/components/base/button'
import { useModalContext } from '@/context/modal-context'
import { fetchApiBasedExtensionList } from '@/service/common'
@@ -42,14 +41,13 @@
))
)
}
- <Button
- variant='secondary'
- className='w-full'
+ <div
+ className='flex items-center justify-center px-3 h-8 text-[13px] font-medium text-gray-700 rounded-lg bg-gray-50 cursor-pointer'
onClick={handleOpenApiBasedExtensionModal}
>
- <RiAddLine className='mr-1 h-4 w-4' />
+ <RiAddLine className='mr-2 w-4 h-4' />
{t('common.apiBasedExtension.add')}
- </Button>
+ </div>
</div>
)
}
--
Gitblit v1.8.0