chore: add todo

This commit is contained in:
karishmas6
2024-08-08 00:43:20 +05:30
parent cf3bf0ab29
commit 8d0b24181f

View File

@@ -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);