SIMSBIOHUB-647: Create Observations Page #4387
lint-format.yml
on: pull_request
Checkout and cache target branch
9s
Running Linter and Formatter
4m 14s
Annotations
6 warnings
Checkout and cache target branch
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Running Linter and Formatter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Running Linter and Formatter:
app/src/components/fields/MeasurementAutocomplete.tsx#L29
React Hook useEffect has a missing dependency: 'tsn'. Either include it or remove the dependency array
|
Running Linter and Formatter:
app/src/features/surveys/observations/form/sampling/ObservationSamplingForm.tsx#L50
React Hook useMemo has a missing dependency: 'biohubApi.samplingSite'. Either include it or remove the dependency array
|
Running Linter and Formatter:
app/src/features/surveys/observations/form/sampling/ObservationSamplingForm.tsx#L64
React Hook useEffect has missing dependencies: 'biohubApi.samplingSite' and 'surveyContext.surveyId'. Either include them or remove the dependency array
|
Running Linter and Formatter:
app/src/hooks/useFocalOrObservedTsns.tsx#L33
The 'observedAndFocalSpeciesTsns' array makes the dependencies of useEffect Hook (at line 40) change on every render. To fix this, wrap the initialization of 'observedAndFocalSpeciesTsns' in its own useMemo() Hook
|