diff --git a/packages/playground/apps/starter/utils/workspace.ts b/packages/playground/apps/starter/utils/workspace.ts index 93be7ed28deb..ff57e27066e7 100644 --- a/packages/playground/apps/starter/utils/workspace.ts +++ b/packages/playground/apps/starter/utils/workspace.ts @@ -80,7 +80,7 @@ export function createStarterPageWorkspace() { export async function initStarterPageWorkspace(workspace: Workspace) { // init from other clients - if (room && !params.get('init')) { + if (room && !params.has('init')) { let fistPage = workspace.pages.values().next().value as Page | undefined; if (!fistPage) { await new Promise(resolve =>