refactor: migrate connect account toast #131198
Annotations
2 errors and 10 warnings
|
Lint
Process completed with exit code 1.
|
|
|
|
Lint:
ui/components/app/snaps/snap-ui-selector/snap-ui-selector.tsx#L153
React Hook useEffect has a missing dependency: 'onSelect'. Either include it or remove the dependency array. If 'onSelect' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
|
Lint:
ui/components/app/snaps/snap-ui-input/snap-ui-input.tsx#L85
React Hook useEffect has missing dependencies: 'focusedInput' and 'name'. Either include them or remove the dependency array
|
|
Lint:
ui/components/app/snaps/snap-ui-asset-selector/useSnapAssetDisplay.tsx#L145
React Hook useMemo has missing dependencies: 'formatAsset' and 'requestedChainIds'. Either include them or remove the dependency array
|
|
Lint:
ui/components/app/snaps/snap-ui-address-input/snap-ui-address-input.tsx#L213
React Hook useEffect has missing dependencies: 'focusedInput' and 'name'. Either include them or remove the dependency array
|
|
Lint:
ui/components/app/shield-entry-modal/shield-illustration-animation.tsx#L78
React Hook useEffect has a missing dependency: 'rive'. Either include it or remove the dependency array
|
|
Lint:
ui/components/app/qr-hardware-popover/qr-hardware-popover.js#L40
React Hook useMemo has a missing dependency: 'txData'. Either include it or remove the dependency array
|
|
Lint:
ui/components/app/modals/multichain-accounts/intro-modal/multichain-account-intro-modal.container.tsx#L87
React Hook useCallback has a missing dependency: 'SUPPORT_URL'. Either include it or remove the dependency array
|
|
Lint:
ui/components/app/currency-input/currency-input.js#L167
React Hook useEffect has missing dependencies: 'isInputUnchanged', 'isMatchingUpstream', 'setTokenDecimalValue', and 'tokenDecimalValue'. Either include them or remove the dependency array
|
|
Lint:
ui/components/app/assets/hooks/useAssetListTokenDetection.tsx#L108
React Hook useEffect has missing dependencies: 'allNetworks', 'currentChainId', 'detectedTokens', 'detectedTokensMultichain', 'handleAddImportedTokens', 'trackTokenAddedEvent', and 'useTokenDetection'. Either include them or remove the dependency array
|
|
Lint:
ui/components/app/assets/asset-list/asset-list.tsx#L53
React Hook useCallback has missing dependencies: 'onClickAsset', 'primaryCurrencyProperties.suffix', and 'trackEvent'. Either include them or remove the dependency array. If 'onClickAsset' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Loading