Browse Source

style: run prettier

Konstantinos Kaloutas 2 years ago
parent
commit
1eb94092f0

+ 0 - 1
tldraw/apps/tldraw-logseq/src/lib/shapes/PencilShape.tsx

@@ -119,7 +119,6 @@ export class PencilShape extends TLDrawShape<PencilShapeProps> {
     )
   })
 
-
   @computed get scaleLevel() {
     return this.props.scaleLevel ?? 'md'
   }

+ 1 - 3
tldraw/packages/core/src/lib/TLViewport.ts

@@ -133,9 +133,7 @@ export class TLViewport {
     return this
   }
 
-  /**
-   * Animate the camera to the given position
-   */
+  /** Animate the camera to the given position */
   animateCamera = ({ point, zoom }: { point: number[]; zoom: number }) => {
     return this.animateToViewport({
       minX: -point[0],

+ 1 - 5
tldraw/packages/react/src/components/ContextBarContainer/ContextBarContainer.tsx

@@ -48,11 +48,7 @@ export const ContextBarContainer = observer(function ContextBarContainer<S exten
   }
 
   return (
-    <div
-      ref={rBounds}
-      className="tl-counter-scaled-positioned"
-      aria-label="context-bar-container"
-    >
+    <div ref={rBounds} className="tl-counter-scaled-positioned" aria-label="context-bar-container">
       <ContextBar
         hidden={hidden}
         shapes={shapes}