some frontend nice-to-haves #93
Annotations
10 errors and 4 warnings
Run lint:
frontend/src/components/NewPlayer.tsx#L30
'hasFunds' is assigned a value but never used
|
Run lint:
frontend/src/components/NewPlayer.tsx#L87
React Hook "usePaymaster" is called in function "handleNewPlayer" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|
Run lint:
frontend/src/components/NewPlayer.tsx#L195
'styles' is assigned a value but never used
|
Run lint:
frontend/src/components/modals/BuySeeds.tsx#L7
'Coin' is defined but never used
|
Run lint:
frontend/src/components/modals/BuySeeds.tsx#L8
'InputType' is defined but never used
|
Run lint:
frontend/src/components/modals/BuySeeds.tsx#L12
'axios' is defined but never used
|
Run lint:
frontend/src/components/modals/BuySeeds.tsx#L18
'useIsConnected' is defined but never used
|
Run lint:
frontend/src/components/modals/BuySeeds.tsx#L19
'useNetwork' is defined but never used
|
Run lint:
frontend/src/components/modals/BuySeeds.tsx#L20
'useBalance' is defined but never used
|
Run lint:
frontend/src/components/modals/BuySeeds.tsx#L41
'retryCount' is assigned a value but never used
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run lint:
frontend/src/components/Garden.tsx#L43
React Hook useEffect has a missing dependency: 'setTileStates'. Either include it or remove the dependency array. If 'setTileStates' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run lint:
frontend/src/components/NewPlayer.tsx#L36
React Hook useEffect has a missing dependency: 'getBalance'. Either include it or remove the dependency array
|
Run lint:
frontend/src/components/show/ShowCoins.tsx#L30
React Hook useEffect has a missing dependency: 'farmCoinAssetID'. Either include it or remove the dependency array
|
Loading