Fix #407 #773
Annotations
11 warnings
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test:
src/blocks/child-pages/edit.js#L46
React Hook useEffect has missing dependencies: 'parent', 'parentTitle', and 'setAttributes'. Either include them or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Test:
src/blocks/cluster-divided-content/edit.js#L24
React Hook useEffect has a missing dependency: 'setAttributes'. Either include it or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Test:
src/blocks/cover/edit.js#L33
React Hook useEffect has missing dependencies: 'hasInnerBlocks', 'innerBlockTypes', and 'setAttributes'. Either include them or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Test:
src/blocks/cover/edit.js#L33
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Test:
src/blocks/flex-divided-content/edit.js#L22
React Hook useEffect has missing dependencies: 'context' and 'setAttributes'. Either include them or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Test:
src/blocks/flex-divided-content/edit.js#L22
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Test:
src/blocks/flex-divided-content/edit.js#L30
React Hook useEffect has missing dependencies: 'context' and 'setAttributes'. Either include them or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Test:
src/blocks/flex-divided-content/edit.js#L30
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Test:
src/blocks/flex-divided/edit.js#L48
React Hook useEffect has a missing dependency: 'setAttributes'. Either include it or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Test:
src/blocks/grid-divided-content/edit.js#L26
React Hook useEffect has a missing dependency: 'setAttributes'. Either include it or remove the dependency array. If 'setAttributes' changes too often, find the parent component that defines it and wrap that definition in useCallback
|