Browse Source

Update tldraw/apps/tldraw-logseq/src/lib/shapes/YouTubeShape.tsx

Co-authored-by: Konstantinos <[email protected]>
Peng Xiao 3 years ago
parent
commit
760900169f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      tldraw/apps/tldraw-logseq/src/lib/shapes/YouTubeShape.tsx

+ 1 - 2
tldraw/apps/tldraw-logseq/src/lib/shapes/YouTubeShape.tsx

@@ -166,8 +166,7 @@ export class YouTubeShape extends TLBoxShape<YouTubeShapeProps> {
           </foreignObject>
         </>
       )
-    } else {
-      return super.getShapeSVGJsx({})
     }
+    return super.getShapeSVGJsx({})
   }
 }