feat: added ethereum and bitcoin hook #22
Annotations
7 errors and 10 warnings
Lint:
src/app/components/mint-unmint/components/mint/mint.tsx#L1
'useState' is defined but never used
|
Lint:
src/app/components/mint-unmint/components/mint/mint.tsx#L4
'StepButton' is defined but never used
|
Lint:
src/app/components/mint-unmint/components/mint/mint.tsx#L15
'useDispatch' is defined but never used
|
Lint:
src/app/hooks/use-bitcoin.ts#L14
'dispatch' is defined but never used
|
Lint:
src/app/hooks/use-bitcoin.ts#L16
'getVault' is assigned a value but never used
|
Lint:
src/app/hooks/use-bitcoin.ts#L40
'vaultUUID' is defined but never used
|
Lint
Process completed with exit code 1.
|
Lint:
src/app/components/my-vaults-small/my-vaults-small.tsx#L29
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Lint:
src/app/components/my-vaults-small/my-vaults-small.tsx#L30
React Hook useEffect has a missing dependency: 'ethereum'. Either include it or remove the dependency array
|
Lint:
src/app/hooks/use-bitcoin.ts#L23
Unexpected console statement
|
Lint:
src/app/hooks/use-bitcoin.ts#L43
Unexpected console statement
|
Lint:
src/app/hooks/use-bitcoin.ts#L45
Unexpected console statement
|
Lint:
src/app/hooks/use-bitcoin.ts#L72
Unexpected console statement
|
Lint:
src/app/hooks/use-ethereum.ts#L50
Unexpected console statement
|
Lint:
src/app/hooks/use-ethereum.ts#L54
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Lint:
src/app/hooks/use-ethereum.ts#L157
Unexpected console statement
|
Lint:
src/app/hooks/use-ethereum.ts#L187
The 'getLockedBTCBalance' function makes the dependencies of useEffect Hook (at line 55) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'getLockedBTCBalance' in its own useCallback() Hook
|
The logs for this run have expired and are no longer available.
Loading