From b6903aea60427513b159b65ecbb7dec3252a704b Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Mon, 29 Jul 2024 16:40:20 +0530 Subject: [PATCH] fix: revert --- src/components/atoms/canvas.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/atoms/canvas.tsx b/src/components/atoms/canvas.tsx index 6b16dab2..f6e6fb1c 100644 --- a/src/components/atoms/canvas.tsx +++ b/src/components/atoms/canvas.tsx @@ -52,7 +52,7 @@ const Canvas = ({ width, height, onCreateRef }: CanvasProps) => { case 'mousedown': const clickCoordinates = getMappedCoordinates(event, canvasRef.current, width, height); if (getTextRef.current === true) { - return; + console.log('get text') } else { socket.emit('input:mousedown', clickCoordinates); }