fix mango market proposal text (#1691) #1140
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci-main-tests.yml
on: push
Matrix: Static Security Tests
All tests pass
0s
Annotations
10 warnings
Run Tests:
VoteStakeRegistry/components/TokenBalance/LockPluginTokenBalanceCard.tsx#L226
React Hook useEffect has a missing dependency: 'setHasGovPower'. Either include it or remove the dependency array. If 'setHasGovPower' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run Tests:
components/TreasuryAccount/MangoModal.tsx#L44
React Hook useEffect has missing dependencies: 'account.extensions.transferAddress', 'mangoClient', and 'mangoGroup'. Either include them or remove the dependency array
|
Run Tests:
components/TreasuryAccount/MangoModal.tsx#L44
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/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/instructions/ExecuteAllInstructionButton.tsx#L71
React Hook useEffect has missing dependencies: 'assetAccounts' and 'governancesArray'. Either include them or remove the dependency array
|
Run Tests:
components/instructions/TransactionInstructionCard.tsx#L90
React Hook useCallback has missing dependencies: 'connection', 'governedTokenAccountsWithoutNfts', and 'nftsGovernedTokenAccounts'. Either include them or remove the dependency array
|
Run Tests:
components/treasuryV2/WalletList/WalletListItem/AssetList/index.tsx#L162
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/useGovernanceAssets.ts#L76
The 'canMintRealmCouncilToken' function makes the dependencies of useMemo Hook (at line 877) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'canMintRealmCouncilToken' in its own useCallback() Hook
|
Run Tests:
hooks/useGovernanceAssets.ts#L852
The 'getPackageTypeById' function makes the dependencies of useMemo Hook (at line 877) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'getPackageTypeById' in its own useCallback() Hook
|
Run Tests:
hooks/useMangoV4.tsx#L60
React Hook useEffect has missing dependencies: 'GROUP', 'connection', 'getClient', and 'wallet'. Either include them or remove the dependency array
|