update token record preference (#2209) #34
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run tests:
HeliumVotePlugin/components/LockTokensAccount.tsx#L155
React Hook useAsync has missing dependencies: 'config?.account.communityTokenConfig.voterWeightAddin', 'connection', 'currentClient', 'getPositions', 'realm.account.communityMint', 'realm.pubkey', and 'wallet.publicKey'. Either include them or remove the dependency array
|
Run tests:
PythVotePlugin/components/PythVotingPower.tsx#L65
React Hook useMemo has a missing dependency: 'pythScalingFactor'. Either include it or remove the dependency array
|
Run tests:
components/NewRealmWizard/components/NFTCollectionModal.tsx#L85
React Hook useAsync has a missing dependency: 'network'. Either include it or remove the dependency array
|
Run tests:
components/TreasuryAccount/MangoModal.tsx#L94
React Hook useEffect has a missing dependency: 'form'. Either include it or remove the dependency array. You can also do a functional update 'setForm(f => ...)' if you only need 'form' in the 'setForm' call
|
Run tests:
components/TreasuryAccount/MangoModal.tsx#L94
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Run tests:
components/TreasuryAccount/MangoModal.tsx#L109
React Hook useEffect has missing dependencies: 'account.extensions.mint' and 'form'. Either include them or remove the dependency array. You can also do a functional update 'setForm(f => ...)' if you only need 'form' in the 'setForm' call
|
Run tests:
components/TreasuryAccount/MangoModal.tsx#L190
React Hook useEffect has missing dependencies: 'account.extensions.mint' and 'getMaxWithdrawForBank'. Either include them or remove the dependency array
|
Run tests:
components/TreasuryAccount/Trade.tsx#L344
React Hook useCallback has missing dependencies: 'anchorProvider', 'fmtUrlWithCluster', 'handleCreateProposal', 'mintAccount.account.decimals', 'router', 'tokenAccount.pubkey', and 'voteByCouncil'. Either include them or remove the dependency array
|
Run tests:
components/treasuryV2/WalletList/WalletListItem/AssetList/index.tsx#L165
React Hook useEffect has missing dependencies: 'realm.account.communityMint' and 'realm.account.config.councilMint'. Either include them or remove the dependency array
|
Run tests:
hooks/useMangoV4.tsx#L70
React Hook useEffect has missing dependencies: 'GROUP', 'connection', 'getClient', and 'wallet'. Either include them or remove the dependency array
|
Loading