WIP import from fhnw #147
Annotations
10 errors and 2 warnings
|
|
Linting:
packages/volto-solr/src/components/theme/SolrSearch/SearchConditionsValue.jsx#L22
Replace `(checked)·=>·setC(value,·checked),·[` with `⏎····(checked)·=>·setC(value,·checked),`
|
Linting:
packages/volto-solr/src/components/theme/SolrSearch/SearchConditionsValue.jsx#L23
Replace `setC,⏎····value` with `[setC,·value]`
|
|
Linting:
packages/volto-solr/src/components/theme/SolrSearch/SelectLayout.jsx#L16
Replace `⏎····?·layouts⏎····:·['list']⏎··).filter((layout)·=>·['list',·'grid'].includes(layout)` with `·?·layouts·:·['list']).filter(⏎····(layout)·=>·['list',·'grid'].includes(layout),⏎··`
|
Linting:
packages/volto-solr/src/components/theme/SolrSearch/SelectSorting.jsx#L30
Replace `⏎··({·onChange,·value,·reactSelect·` with `({⏎··onChange,⏎··value,⏎··reactSelect,⏎`
|
|
Linting:
packages/volto-solr/src/components/theme/SolrSearch/SelectSorting.jsx#L33
Replace `····` with `··`
|
|
Linting:
packages/volto-solr/src/components/theme/SolrSearch/SelectSorting.jsx#L34
The 'choices' array makes the dependencies of useMemo Hook (at line 55) change on every render. To fix this, wrap the initialization of 'choices' in its own useMemo() Hook
|
Linting:
packages/volto-solr/src/components/theme/SolrSearchWidget/MailTo.jsx#L12
Assign arrow function to a variable before exporting as module default
|
Loading