Skip to content

WIP import from fhnw #147

WIP import from fhnw

WIP import from fhnw #147

Triggered via push September 19, 2024 10:17
Status Failure
Total duration 1m 25s
Artifacts

code.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
codeanalysis: packages/volto-solr/src/components/theme/SolrSearch/SearchConditionsValue.jsx#L22
Replace `(checked)·=>·setC(value,·checked),·[` with `⏎····(checked)·=>·setC(value,·checked),`
codeanalysis: packages/volto-solr/src/components/theme/SolrSearch/SearchConditionsValue.jsx#L23
Replace `setC,⏎····value` with `[setC,·value]`
codeanalysis: 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),⏎··`
codeanalysis: packages/volto-solr/src/components/theme/SolrSearch/SelectSorting.jsx#L30
Replace `⏎··({·onChange,·value,·reactSelect·` with `({⏎··onChange,⏎··value,⏎··reactSelect,⏎`
codeanalysis: 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
codeanalysis: packages/volto-solr/src/components/theme/SolrSearchWidget/MailTo.jsx#L12
Assign arrow function to a variable before exporting as module default