From d3b41e6f7bb344163a71e52b71f7db82f96bb20e Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Thu, 19 Dec 2024 19:22:53 +0800 Subject: [PATCH] fix(blocks): fix title and icon in embed synced doc block --- .../embed-synced-doc-block.ts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/packages/affine/block-embed/src/embed-synced-doc-block/embed-synced-doc-block.ts b/packages/affine/block-embed/src/embed-synced-doc-block/embed-synced-doc-block.ts index c342ee886aab..607cc4296525 100644 --- a/packages/affine/block-embed/src/embed-synced-doc-block/embed-synced-doc-block.ts +++ b/packages/affine/block-embed/src/embed-synced-doc-block/embed-synced-doc-block.ts @@ -1,7 +1,3 @@ -import { - EmbedEdgelessIcon, - EmbedPageIcon, -} from '@blocksuite/affine-components/icons'; import { Peekable } from '@blocksuite/affine-components/peek'; import { REFERENCE_NODE, @@ -206,8 +202,6 @@ export class EmbedSyncedDocBlockComponent extends EmbedBlockComponent html`
- ${icon} - - ${this.docTitle} - + ${this.icon$.value} + ${this.title$}