feat: default statement
This commit is contained in:
@@ -78,6 +78,9 @@ const Canvas = ({ width, height, onCreateRef, highlighterData }: CanvasProps) =>
|
|||||||
socket.emit('input:wheel', deltas);
|
socket.emit('input:wheel', deltas);
|
||||||
setLastAction('scroll');
|
setLastAction('scroll');
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
console.log('Default mouseEvent registered');
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [socket, width, height, setLastAction]);
|
}, [socket, width, height, setLastAction]);
|
||||||
|
|||||||
Reference in New Issue
Block a user