From 8d0b24181f62e25b8949ea9cc8722443216e80b3 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 8 Aug 2024 00:43:20 +0530 Subject: [PATCH] chore: add todo --- src/components/atoms/canvas.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/atoms/canvas.tsx b/src/components/atoms/canvas.tsx index cd0e2323..3e9d89c0 100644 --- a/src/components/atoms/canvas.tsx +++ b/src/components/atoms/canvas.tsx @@ -54,6 +54,7 @@ const Canvas = ({ width, height, onCreateRef }: CanvasProps) => { case 'mousedown': const clickCoordinates = getMappedCoordinates(event, canvasRef.current, width, height); if (getTextRef.current === true || getListRef.current === true) { + // todo: remove console.log and return console.log('get text or get list is true'); } else { socket.emit('input:mousedown', clickCoordinates);