diff --git a/src/App.tsx b/src/App.tsx index bd79a72..5a3a3f0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -5,7 +5,7 @@ import { AgentButton } from "./components/AgentButton"; import { SocialShapeUtil } from "./SocialShapeUtil"; import { SocialShapeTool } from "./SocialShapeTool"; import { CustomToolbar, overrides } from "./ui"; -import { getDocumentMeta, getUserId, getUsersInRoom, setDocumentMeta } from "./storeUtils"; +// import { getDocumentMeta, getUserId, getUsersInRoom, setDocumentMeta } from "./storeUtils"; import { registerDefaultPropagators } from "./propagators/ScopedPropagators"; const shapeUtils = [SocialShapeUtil]; diff --git a/src/SocialShapeUtil.tsx b/src/SocialShapeUtil.tsx index ad23f22..d6f3f8f 100644 --- a/src/SocialShapeUtil.tsx +++ b/src/SocialShapeUtil.tsx @@ -7,7 +7,6 @@ import { TLOnResizeHandler, TLShapeId, resizeBox, - toDomPrecision, } from 'tldraw' import { getUserId } from './storeUtils' @@ -90,7 +89,11 @@ export class SocialShapeUtil extends BaseBoxShapeUtil { return ( e.stopPropagation()}>