Skip to content

Commit

Permalink
fix(playground): /starter/?init&room=1 not works (toeverything#6230)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flrande authored Feb 19, 2024
1 parent 8267a15 commit 2201798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/playground/apps/starter/utils/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>(resolve =>
Expand Down

0 comments on commit 2201798

Please sign in to comment.