diff --git a/modules/room/components/Canvas.tsx b/modules/room/components/Canvas.tsx
index 275dd96..4f5ec17 100644
--- a/modules/room/components/Canvas.tsx
+++ b/modules/room/components/Canvas.tsx
@@ -5,7 +5,6 @@ import { useRef, useState, useEffect } from "react";
import { useKeyPressEvent } from "react-use";
import { useDraw, useSocketDraw } from "../hooks/Canvas.hooks";
import { socket } from "@/common/lib/socket";
-import { drawFromSocket } from "../helpers/Canvas.helpers";
import Minimap from "./Minimap";
const Canvas = () => {
@@ -64,7 +63,7 @@ const Canvas = () => {
}
}, [dragging]);
- useSocketDraw(ctx, copyCanvasToSmall);
+ useSocketDraw(ctx,drawing, copyCanvasToSmall);
return (