feat: rm update dimensions for canvas

This commit is contained in:
Rohit
2025-03-15 14:10:54 +05:30
parent 0ca557d31c
commit 06a22f1c2f

View File

@@ -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 }) => {