From b9334369a4333d0d41c13013f1132a23cad2d4d2 Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Fri, 31 May 2024 16:09:14 +0800 Subject: [PATCH] Update modal-provider.tsx --- packages/frontend/core/src/modules/peek-view/index.ts | 2 +- packages/frontend/core/src/providers/modal-provider.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/core/src/modules/peek-view/index.ts b/packages/frontend/core/src/modules/peek-view/index.ts index eb46e5ddba1a4..304159ad78039 100644 --- a/packages/frontend/core/src/modules/peek-view/index.ts +++ b/packages/frontend/core/src/modules/peek-view/index.ts @@ -8,4 +8,4 @@ export function configurePeekViewModule(framework: Framework) { } export { PeekViewEntity, PeekViewService }; -export { useInsidePeekView } from './view'; +export { PeekViewManagerModal,useInsidePeekView } from './view'; diff --git a/packages/frontend/core/src/providers/modal-provider.tsx b/packages/frontend/core/src/providers/modal-provider.tsx index b428e9a113cb4..4c0f2c2cd94bd 100644 --- a/packages/frontend/core/src/providers/modal-provider.tsx +++ b/packages/frontend/core/src/providers/modal-provider.tsx @@ -24,7 +24,7 @@ import { PaymentDisableModal } from '../components/affine/payment-disable'; import { useAsyncCallback } from '../hooks/affine-async-hooks'; import { useNavigateHelper } from '../hooks/use-navigate-helper'; import { AuthService } from '../modules/cloud/services/auth'; -import { PeekViewManagerModal } from '../modules/peek-view/view'; +import { PeekViewManagerModal } from '../modules/peek-view'; import { WorkspaceSubPath } from '../shared'; const SettingModal = lazy(() =>