feat: bump blocksuite (#5845)

This commit is contained in:
Ayush Agrawal
2024-02-20 18:19:41 +05:30
committed by LongYinan
parent f345a61df0
commit 2e6386e4cf
33 changed files with 200 additions and 181 deletions
@@ -13,8 +13,8 @@ import { Map as YMap } from 'yjs';
import { getLatestVersions } from '../migration/blocksuite';
import { replaceIdMiddleware } from './middleware';
export async function initEmptyPage(page: Page, title?: string) {
await page.load(() => {
export function initEmptyPage(page: Page, title?: string) {
page.load(() => {
const pageBlockId = page.addBlock('affine:page', {
title: new page.Text(title ?? ''),
});