chore: lint

This commit is contained in:
karishmas6
2024-07-23 20:22:01 +05:30
parent 90bf664ca1
commit 14c78997b5

View File

@@ -62,7 +62,7 @@ const Canvas = ({ width, height, onCreateRef, highlighterData }: CanvasProps) =>
const onMouseEvent = useCallback((event: MouseEvent) => {
if (socket && canvasRef.current) {
const coordinates = getMappedCoordinates(event, canvasRef.current, width, height);
switch (event.type) {
case 'mousemove':
if (lastMousePosition.current.x !== coordinates.x ||