Calculate the API URL based on window.location
#7
Annotations
10 warnings
Run tests:
src/components/ControlPanel/RefreshPageButton.tsx#L10
'window.location.href' is assigned to itself
|
Run tests:
src/components/SlippyMap/Legend.tsx#L27
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
|
Run tests:
src/components/SlippyMap/index.tsx#L112
Unexpected any. Specify a different type
|
Run tests:
src/components/TileLayout.tsx#L60
'variablesIndexQuery' is assigned a value but never used
|
Run tests:
src/state/client/derived/mapView.ts#L29
Forbidden non-null assertion
|
Run tests:
src/state/client/derived/selectedBasemapLayer.ts#L17
Forbidden non-null assertion
|
Run tests:
src/types/SlippyMap.ts#L11
Unexpected any. Specify a different type
|
Run tests:
src/types/SlippyMap.ts#L13
Unexpected any. Specify a different type
|
Run tests:
src/util/__tests__/waterYear.ts#L16
Forbidden non-null assertion
|
Run tests:
src/util/__tests__/waterYear.ts#L22
Forbidden non-null assertion
|