Skip to content

make useTransactionHistoryWHScan more robust #1907

make useTransactionHistoryWHScan more robust

make useTransactionHistoryWHScan more robust #1907

Triggered via pull request February 19, 2025 01:05
Status Failure
Total duration 3m 35s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
lint: wormhole-connect/src/hooks/useTransactionHistoryWHScan.ts#L139
Unexpected 'debugger' statement
lint: wormhole-connect/src/hooks/useTransactionHistoryWHScan.ts#L139
Unexpected 'debugger' statement
lint: wormhole-connect/src/hooks/useTransactionHistoryWHScan.ts#L245
React Hook useCallback has a missing dependency: 'getOrFetchToken'. Either include it or remove the dependency array
lint: wormhole-connect/src/hooks/useTransactionHistoryWHScan.ts#L370
React Hook useMemo has a missing dependency: 'parseGenericRelayer'. Either include it or remove the dependency array
lint
Process completed with exit code 1.
lint: wormhole-connect/src/AppRouter.tsx#L66
React Hook React.useEffect has missing dependencies: 'dispatch' and 'props.config'. Either include them or remove the dependency array
lint: wormhole-connect/src/AppRouter.tsx#L86
React Hook useEffect has a missing dependency: 'routeContext'. Either include it or remove the dependency array
lint: wormhole-connect/src/components/DemoApp/index.tsx#L148
React Hook useEffect has missing dependencies: 'customConfigInput', 'customConfigNonce', and 'isLoadingCustomConfig'. Either include them or remove the dependency array. You can also do a functional update 'setCustomConfigNonce(c => ...)' if you only need 'customConfigNonce' in the 'setCustomConfigNonce' call
lint: wormhole-connect/src/components/Modal.tsx#L76
React Hook useEffect has a missing dependency: 'onClose'. Either include it or remove the dependency array. If 'onClose' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: wormhole-connect/src/contexts/TokensContext.tsx#L59
'_setTokenPrices' is assigned a value but never used
lint: wormhole-connect/src/contexts/TokensContext.tsx#L62
'_setTokenPricesToFetch' is assigned a value but never used
lint: wormhole-connect/src/contexts/TokensContext.tsx#L109
React Hook useCallback has a missing dependency: 'lastTokenCacheUpdate'. Either include it or remove the dependency array
lint: wormhole-connect/src/hooks/useTransactionHistoryWHScan.ts#L245
React Hook useCallback has a missing dependency: 'getOrFetchToken'. Either include it or remove the dependency array
lint: wormhole-connect/src/hooks/useTransactionHistoryWHScan.ts#L370
React Hook useMemo has a missing dependency: 'parseGenericRelayer'. Either include it or remove the dependency array
lint: wormhole-connect/src/utils/wallet/index.ts#L164
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array