mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-29 00:06:09 +08:00
fix: add judgement of currentWorkspace
This commit is contained in:
@@ -31,7 +31,7 @@ const Page: NextPageWithLayout = () => {
|
||||
<EditorHeader />
|
||||
<MobileModal />
|
||||
|
||||
{currentPage && (
|
||||
{currentPage && currentWorkspace && (
|
||||
<DynamicBlocksuite
|
||||
page={currentPage}
|
||||
workspace={currentWorkspace}
|
||||
|
||||
Reference in New Issue
Block a user