Skip to content

Commit

Permalink
fix(page): synced block placeholder should not appear after adding co…
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushAgrawal-A2 authored Feb 19, 2024
1 parent 362c82d commit a62f8aa
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,8 @@ export class EmbedSyncedDocBlockComponent extends EmbedBlockElement<
return;
}

if (contentBlocks.length === 1 && contentBlocks[0].text?.length === 0) {
this._empty = true;
}
this._empty =
contentBlocks.length === 1 && contentBlocks[0].text?.length === 0;
}

private async _load() {
Expand Down

0 comments on commit a62f8aa

Please sign in to comment.