Refactoring changes and bug fixes #2
Annotations
10 errors and 12 warnings
src/components/Button.tsx#L86
'MuiButtonProps' is defined but never used
|
src/components/ConnectWallets.tsx#L3
'walletIcon' is defined but never used
|
src/components/GuardianSetup copy.tsx#L23
'InputField' is defined but never used
|
src/components/GuardianSetup copy.tsx#L24
'InputNumber' is defined but never used
|
src/components/GuardianSetup copy.tsx#L25
'Box' is defined but never used
|
src/components/GuardianSetup copy.tsx#L25
'Grid' is defined but never used
|
src/components/GuardianSetup copy.tsx#L25
'Typography' is defined but never used
|
src/components/GuardianSetup copy.tsx#L63
'theme' is assigned a value but never used
|
src/components/GuardianSetup copy.tsx#L79
'emailError' is assigned a value but never used
|
src/components/GuardianSetup.tsx#L32
'useTheme' is defined but never used
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/components/GuardianSetup copy.tsx#L122
React Hook useEffect has a missing dependency: 'checkIfRecoveryIsConfigured'. Either include it or remove the dependency array
|
src/components/GuardianSetup copy.tsx#L219
React Hook useCallback has missing dependencies: 'recoveryDelayUnit' and 'recoveryExpiryUnit'. Either include them or remove the dependency array
|
src/components/GuardianSetup.tsx#L130
React Hook useEffect has missing dependencies: 'checkIfRecoveryIsConfigured' and 'interval'. Either include them or remove the dependency array
|
src/components/GuardianSetup.tsx#L209
Assignments to the 'interval' variable from inside React Hook useCallback will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useCallback
|
src/components/RequestedRecoveries.tsx#L90
React Hook useEffect has a missing dependency: 'checkIfRecoveryCanBeCompleted'. Either include it or remove the dependency array
|
src/components/RequestedRecoveries.tsx#L141
Assignments to the 'interval' variable from inside React Hook useCallback will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useCallback
|
src/components/RequestedRecoveries.tsx#L182
React Hook useCallback has missing dependencies: 'safeOwnersData' and 'safeWalletAddress'. Either include them or remove the dependency array
|
src/components/burnerWallet/GuardianSetup.tsx#L32
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
src/components/burnerWallet/GuardianSetup.tsx#L239
React Hook useEffect has missing dependencies: 'checkIfRecoveryIsConfigured' and 'interval'. Either include them or remove the dependency array
|
src/components/burnerWallet/GuardianSetup.tsx#L315
Assignments to the 'interval' variable from inside React Hook useCallback will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useCallback
|
This job failed
Loading