fix #393 #703
Annotations
10 warnings
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#L45
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
|