Theme revisions (better light mode & more) #1921
Triggered via pull request
February 20, 2025 22:37
Status
Cancelled
Total duration
50m 8s
Artifacts
–
build.yml
on: pull_request
lint
50s
test
0s
check-sdn-list
54s
check-token-list
50m 0s
build-hosted
1m 46s
build-library
1m 47s
Annotations
7 errors and 10 warnings
lint:
wormhole-connect/src/icons/ChainIcons.tsx#L87
React Hook "useStyles" is called in function "emptyIcon" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|
lint:
wormhole-connect/src/icons/TokenIcons.tsx#L125
React Hook "useStyles" is called in function "emptyIcon" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|
lint:
wormhole-connect/src/utils/theme.ts#L49
'l' is never reassigned. Use 'const' instead
|
lint:
wormhole-connect/src/views/v2/Bridge/AssetPicker/ChainList.tsx#L125
React Hook "useMemo" is called conditionally. React Hooks must be called in the exact same order in every component render
|
lint:
wormhole-connect/src/views/v2/Bridge/AssetPicker/ChainList.tsx#L176
React Hook "useMemo" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
check-token-list
The run was canceled by @artursapek.
|
check-token-list
The operation was canceled.
|
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#L201
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/DemoApp/index.tsx#L202
React Hook useEffect has a missing dependency: 'customThemeInput'. Either include it or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setCustomTheme' needs the current value of 'customThemeInput'
|
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/utils/wallet/index.ts#L164
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
|
lint:
wormhole-connect/src/views/TxSearch.tsx#L156
React Hook useCallback has a missing dependency: 'search'. Either include it or remove the dependency array
|