WIP #9674
Annotations
10 errors and 3 warnings
check:
apps/wallet-mobile/src/features/Swap/common/SwapProvider.tsx#L2
'BigNumber' is defined but never used. Allowed unused vars must match /^_/u
|
check:
apps/wallet-mobile/src/features/Swap/common/SwapProvider.tsx#L5
'Keyboard' is defined but never used. Allowed unused vars must match /^_/u
|
check:
apps/wallet-mobile/src/features/Swap/common/SwapProvider.tsx#L9
'asQuantity' is defined but never used. Allowed unused vars must match /^_/u
|
check:
apps/wallet-mobile/src/features/Swap/common/SwapProvider.tsx#L9
'Quantities' is defined but never used. Allowed unused vars must match /^_/u
|
check:
apps/wallet-mobile/src/features/Swap/common/SwapProvider.tsx#L13
'PRICE_PRECISION' is defined but never used. Allowed unused vars must match /^_/u
|
check:
apps/wallet-mobile/src/features/Swap/common/SwapProvider.tsx#L45
'numberLocale' is assigned a value but never used. Allowed unused vars must match /^_/u
|
check:
apps/wallet-mobile/src/features/Swap/common/SwapProvider.tsx#L46
'strings' is assigned a value but never used. Allowed unused vars must match /^_/u
|
check:
apps/wallet-mobile/src/features/Swap/common/SwapProvider.tsx#L52
'primaryTokenBalance' is assigned a value but never used. Allowed unused vars must match /^_/u
|
check:
apps/wallet-mobile/src/features/Swap/common/SwapProvider.tsx#L60
'dispatch' is assigned a value but never used. Allowed unused vars must match /^_/u
|
check:
apps/wallet-mobile/src/features/Swap/useCases/ReviewSwap/ReviewSwap.tsx#L70
Unexpected any value in conditional. An explicit comparison or type cast is required
|
check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check:
apps/wallet-mobile/src/features/Swap/common/SwapProvider.tsx#L73
React Hook React.useMemo has unnecessary dependencies: 'actions', 'onChangeBuyQuantity', 'onChangeLimitPrice', and 'onChangeSellQuantity'. Either exclude them or remove the dependency array. Outer scope values like 'onChangeSellQuantity' aren't valid dependencies because mutating them doesn't re-render the component
|