fix: move suspense to the correct place (#1954)

This commit is contained in:
Himself65
2023-04-14 15:44:23 -05:00
committed by GitHub
parent b771a2504b
commit 43a96fe8e3
2 changed files with 8 additions and 12 deletions

View File

@@ -75,7 +75,13 @@ const ListPageInner: React.FC<{
<SearchIcon />
</IconButton>
</NavContainer>
<Suspense>
<Suspense
fallback={
<StyledTableContainer>
<ListSkeleton />
</StyledTableContainer>
}
>
<BlockSuitePublicPageList
onOpenPage={handleClickPage}
blockSuiteWorkspace={blockSuiteWorkspace}