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/base/notion-page-selector/notion-page-selector-modal/index.tsx | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/components/base/notion-page-selector/notion-page-selector-modal/index.tsx b/app/components/base/notion-page-selector/notion-page-selector-modal/index.tsx index 22d2a16..e7fba57 100644 --- a/app/components/base/notion-page-selector/notion-page-selector-modal/index.tsx +++ b/app/components/base/notion-page-selector/notion-page-selector-modal/index.tsx @@ -6,7 +6,6 @@ import type { NotionPage } from '@/models/common' import cn from '@/utils/classnames' import Modal from '@/app/components/base/modal' -import { noop } from 'lodash-es' type NotionPageSelectorModalProps = { isShow: boolean @@ -37,14 +36,14 @@ <Modal className={s.modal} isShow={isShow} - onClose={noop} + onClose={() => { }} > - <div className='mb-6 flex h-8 items-center justify-between'> + <div className='flex items-center justify-between mb-6 h-8'> <div className='text-xl font-semibold text-gray-900'>{t('common.dataSource.notion.selector.addPages')}</div> <div - className='-mr-2 flex h-8 w-8 cursor-pointer items-center justify-center' + className='flex items-center justify-center -mr-2 w-8 h-8 cursor-pointer' onClick={handleClose}> - <XMarkIcon className='h-4 w-4' /> + <XMarkIcon className='w-4 h-4' /> </div> </div> <NotionPageSelector -- Gitblit v1.8.0