Skip to content

Fix undefined in useEffect #1650

Fix undefined in useEffect

Fix undefined in useEffect #1650

Triggered via push November 5, 2024 10:20
Status Failure
Total duration 1m 43s
Artifacts

push.yml

on: push
docker  /  Build and push Docker image
docker / Build and push Docker image
deploy  /  Build or fetch and upload
deploy / Build or fetch and upload
deploy  /  deploy
deploy / deploy
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
Build
Process completed with exit code 1.
Lint: packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/TranscriptSequence.tsx#L131
Async function 'TranscriptSequence' has no 'await' expression
Lint: packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/TranscriptSequence.tsx#L266
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Lint: packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/TranscriptSequence.tsx#L386
Unsafe call of an `error` type typed value
Lint
Process completed with exit code 1.
Lint: packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/TranscriptSequence.tsx#L147
'setSequence' is assigned a value but never used
Lint: packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/TranscriptSequence.tsx#L261
'fetchsequence' is assigned a value but never used
Lint: packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/TranscriptSequence.tsx#L267
React Hook useEffect has missing dependencies: 'assembly', 'currentAssembly', 'feature', 'max', 'min', 'om', 'refData', 'refName', 'selectedOption', 'sequence', 'session.apolloDataStore', and 'showSequence'. Either include them or remove the dependency array