feat: rm update dimensions for canvas
This commit is contained in:
@@ -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 }) => {
|
||||
|
||||
Reference in New Issue
Block a user