From 06a22f1c2f4c0f54c27e8da457f59a58e266bfd0 Mon Sep 17 00:00:00 2001 From: Rohit Date: Sat, 15 Mar 2025 14:10:54 +0530 Subject: [PATCH] feat: rm update dimensions for canvas --- src/components/recorder/canvas.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/recorder/canvas.tsx b/src/components/recorder/canvas.tsx index 4cd990f1..52d29b00 100644 --- a/src/components/recorder/canvas.tsx +++ b/src/components/recorder/canvas.tsx @@ -77,10 +77,6 @@ const Canvas = ({ width, height, onCreateRef }: CanvasProps) => { getListRef.current = getList; }, [getText, getList]); - useEffect(() => { - coordinateMapper.updateDimensions(window.innerWidth * 0.7, window.innerHeight * 0.64); - }, []); - useEffect(() => { if (socket) { socket.on('showDatePicker', (info: { coordinates: Coordinates, selector: string }) => {