Skip to content

Fix withSize regression #1194

Fix withSize regression

Fix withSize regression #1194

Triggered via pull request November 21, 2024 15:09
Status Failure
Total duration 2m 30s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

19 errors
build (20.x): src/components/WindowCanvasNavigationControls.js#L37
Expected a line break after this opening brace
build (20.x): src/components/WindowCanvasNavigationControls.js#L37
Expected a line break before this closing brace
build (20.x): src/components/WindowCanvasNavigationControls.js#L73
propType "showZoomControls" is not required, but has no corresponding defaultProps declaration
build (20.x): src/components/WindowCanvasNavigationControls.js#L75
propType "visible" is not required, but has no corresponding defaultProps declaration
build (20.x): src/extend/withSize.js#L5
Expected a line break after this opening brace
build (20.x): src/extend/withSize.js#L5
Expected a line break before this closing brace
build (20.x): src/extend/withSize.js#L13
React Hook "useRef" is called conditionally. React Hooks must be called in the exact same order in every component render
build (20.x): src/extend/withSize.js#L36
React Hook useEffect has a missing dependency: 'elementRef'. Either include it or remove the dependency array
build (20.x)
Process completed with exit code 1.
build (18.x)
The job was canceled because "_20_x" failed.
build (18.x): src/components/WindowCanvasNavigationControls.js#L37
Expected a line break after this opening brace
build (18.x): src/components/WindowCanvasNavigationControls.js#L37
Expected a line break before this closing brace
build (18.x): src/components/WindowCanvasNavigationControls.js#L73
propType "showZoomControls" is not required, but has no corresponding defaultProps declaration
build (18.x): src/components/WindowCanvasNavigationControls.js#L75
propType "visible" is not required, but has no corresponding defaultProps declaration
build (18.x): src/extend/withSize.js#L5
Expected a line break after this opening brace
build (18.x): src/extend/withSize.js#L5
Expected a line break before this closing brace
build (18.x): src/extend/withSize.js#L13
React Hook "useRef" is called conditionally. React Hooks must be called in the exact same order in every component render
build (18.x): src/extend/withSize.js#L36
React Hook useEffect has a missing dependency: 'elementRef'. Either include it or remove the dependency array
build (18.x)
The operation was canceled.