Browse Source

style: run prettier

Konstantinos Kaloutas 2 years ago
parent
commit
f8cc599625

+ 1 - 3
tldraw/apps/tldraw-logseq/src/components/ContextBar/contextBarActionFactory.tsx

@@ -133,9 +133,7 @@ const LogseqPortalViewModeAction = observer(() => {
     <div className="flex">
       {collapsed ? 'Expand' : 'Collapse'}
       <KeyboardShortcut
-        action={
-          collapsed ? 'editor/expand-block-children' : 'editor/collapse-block-children'
-        }
+        action={collapsed ? 'editor/expand-block-children' : 'editor/collapse-block-children'}
       />
     </div>
   )

+ 5 - 2
tldraw/apps/tldraw-logseq/src/lib/shapes/EllipseShape.tsx

@@ -98,8 +98,11 @@ export class EllipseShape extends TLEllipseShape<EllipseShapeProps> {
       )
 
       return (
-        <div {...events} style={{ width: '100%', height: '100%', overflow: 'hidden' }}
-        className="tl-ellipse-container">
+        <div
+          {...events}
+          style={{ width: '100%', height: '100%', overflow: 'hidden' }}
+          className="tl-ellipse-container"
+        >
           <TextLabel
             font={font}
             text={label}