build: enhance nx build (#2948)

This commit is contained in:
Alex Yang
2023-07-01 01:17:31 +08:00
committed by GitHub
parent 7a5a5d503a
commit 81c5e6d3d2
27 changed files with 559 additions and 138 deletions
@@ -102,6 +102,7 @@ export const RootAppSidebar = ({
const t = useAFFiNEI18N();
const onClickNewPage = useCallback(async () => {
const page = createPage();
await page.waitForLoaded();
openPage(page.id);
}, [createPage, openPage]);