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/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