From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +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