Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix lint

DiamondThreeafa640ac52cb
diff --git a/libs/components/editor-blocks/src/components/source-view/SourceView.tsx b/libs/components/editor-blocks/src/components/source-view/SourceView.tsx
index f8264e8f18..4dbb488850 100644
--- a/libs/components/editor-blocks/src/components/source-view/SourceView.tsx
+++ b/libs/components/editor-blocks/src/components/source-view/SourceView.tsx
@@ -135,7 +135,7 @@ const LazyIframe = ({
>
<iframe src={src} onLoad={onLoad} />
</div>
- {show ? '' : fallback}
+ {!show && fallback}
</>
);
};