New block: Modal block using the Interactivity API #1125
Annotations
17 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Checkout repository
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Checkout repository
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Checkout repository
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Install NodeJS
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Install NodeJS
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Install NodeJS
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint JavaScript and Styles:
mu-plugins/blocks/google-map/src/components/main.js#L84
React Hook useCallback has missing dependencies: 'searchFormAction' and 'throttledRedrawMap'. Either include them or remove the dependency array
|
Lint JavaScript and Styles:
mu-plugins/blocks/google-map/src/components/map.js#L66
Assignments to the 'combinedMarkers' variable from inside React Hook useCallback will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useCallback
|
Lint JavaScript and Styles:
mu-plugins/blocks/google-map/src/components/map.js#L103
Assignments to the 'combinedMarkers' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
|
Lint JavaScript and Styles:
mu-plugins/blocks/horizontal-slider/src/block.js#L86
The ref value 'outerRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'outerRef.current' to a variable inside the effect, and use that variable in the cleanup function
|
Lint JavaScript and Styles:
mu-plugins/blocks/horizontal-slider/src/block.js#L88
React Hook useEffect has a missing dependency: 'innerContainerWidth'. Either include it or remove the dependency array
|
Lint JavaScript and Styles:
mu-plugins/blocks/screenshot-preview/src/block.js#L56
React Hook useEffect has a missing dependency: 'aspectRatio'. Either include it or remove the dependency array. If 'setFrameHeight' needs the current value of 'aspectRatio', you can also switch to useReducer instead of useState and read 'aspectRatio' in the reducer
|
Lint JavaScript and Styles:
mu-plugins/blocks/screenshot-preview/src/in-view.js#L31
React Hook useEffect has a missing dependency: 'isVisible'. Either include it or remove the dependency array
|
Lint JavaScript and Styles:
mu-plugins/blocks/screenshot-preview/src/screenshot.js#L104
React Hook useEffect has a missing dependency: 'fetchImage'. Either include it or remove the dependency array
|
Lint JavaScript and Styles:
mu-plugins/blocks/time/src/index.js#L39
React Hook useCallback does nothing when called with only one argument. Did you forget to pass an array of dependencies?
|
Lint JavaScript and Styles:
mu-plugins/blocks/time/src/index.js#L77
React Hook useEffect has missing dependencies: 'onChange' and 'value'. Either include them or remove the dependency array. If 'onChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Loading