fix typescript problem #59
Annotations
3 errors and 8 warnings
|
Linting:
packages/volto-blocks/src/components/blocks/IconsAndText/ViewItem.tsx#L53
Replace `⏎················className={cx('block-iconsandtext-title',·styles.title)}⏎··············` with `·className={cx('block-iconsandtext-title',·styles.title)}`
|
Linting
Process completed with exit code 2.
|
Linting:
packages/volto-slate-extras/src/components/Widgets/TextEditorWidget/SimpleTextEditorWidget.jsx#L15
'Caret' is defined but never used
|
Linting:
packages/volto-slate-extras/src/components/Widgets/TextEditorWidget/SimpleTextEditorWidget.jsx#L15
Unable to resolve path to module './Caret'
|
Linting:
packages/volto-slate-extras/src/components/Widgets/TextEditorWidget/SimpleTextEditorWidget.jsx#L104
React Hook useEffect has a missing dependency: 'setDefaultCaretPosition'. Either include it or remove the dependency array
|
Linting:
packages/volto-slate-extras/src/components/Widgets/TextEditorWidget/SimpleTextEditorWidget.jsx#L113
React Hook useEffect has missing dependencies: 'fieldName', 'selected', and 'setDefaultCaretPosition'. Either include them or remove the dependency array
|
Linting:
packages/volto-slate-extras/src/config/Slate/Dropdown/dropdownUtils.js#L218
'p' is assigned a value but never used
|
Linting:
packages/volto-slate-extras/src/helpers/blocks.js#L53
React Hook useEffect has missing dependencies: 'defaultSelectedField' and 'selectedField'. Either include them or remove the dependency array. If 'setSelectedField' needs the current value of 'defaultSelectedField', you can also switch to useReducer instead of useState and read 'defaultSelectedField' in the reducer
|
Linting:
packages/volto-slate-extras/src/helpers/blocks.js#L59
React Hook useEffect has missing dependencies: 'block', 'onSelectBlock', and 'selected'. Either include them or remove the dependency array
|
Linting:
packages/volto-slate-extras/src/helpers/blocks.js#L77
React Hook useEffect has a missing dependency: 'blockProps'. Either include it or remove the dependency array
|
Loading