fix: Menu Drop down #2288
Annotations
2 errors and 10 warnings
|
Lint JS and CSS
The operation was canceled.
|
Lint JS and CSS:
app/scripts/components/common/aoi/types.d.ts#L38
Unexpected any. Specify a different type
|
Lint JS and CSS:
app/scripts/components/common/aoi/use-aoi-controls.ts#L131
React Hook useCallback has a missing dependency: 'mapRef'. Either include it or remove the dependency array. If 'setAoi' needs the current value of 'mapRef', you can also switch to useReducer instead of useState and read 'mapRef' in the reducer
|
Lint JS and CSS:
app/scripts/components/common/aoi/utils.ts#L74
Forbidden non-null assertion
|
Lint JS and CSS:
app/scripts/components/common/blocks/block-map.tsx#L90
Expected an assignment or function call and instead saw an expression
|
Lint JS and CSS:
app/scripts/components/common/blocks/block-map.tsx#L184
React Hook useMemo has a missing dependency: 'datasetLayers'. Either include it or remove the dependency array
|
|
|
Lint JS and CSS:
app/scripts/components/common/blocks/index.tsx#L257
Replace `······` with `····`
|
Lint JS and CSS:
app/scripts/components/common/blocks/index.tsx#L258
Replace `··return·typeVal._payload.value[typeVal._payload.value.length-` with `return·typeVal._payload.value[typeVal._payload.value.length·-·`
|
|
Loading