Skip to content

chore: refactored paymaster #83

chore: refactored paymaster

chore: refactored paymaster #83

Triggered via pull request December 16, 2024 19:30
Status Failure
Total duration 50s
Artifacts

pr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Lint: frontend/src/components/NewPlayer.tsx#L30
'hasFunds' is assigned a value but never used
Lint: frontend/src/components/NewPlayer.tsx#L71
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"
Lint: frontend/src/components/NewPlayer.tsx#L153
'styles' is assigned a value but never used
Lint: frontend/src/components/modals/BuySeeds.tsx#L8
'InputType' is defined but never used
Lint: frontend/src/components/modals/BuySeeds.tsx#L18
'useIsConnected' is defined but never used
Lint: frontend/src/components/modals/BuySeeds.tsx#L19
'useNetwork' is defined but never used
Lint: frontend/src/components/modals/BuySeeds.tsx#L20
'useBalance' is defined but never used
Lint: frontend/src/components/modals/BuySeeds.tsx#L190
'inputAmount' is assigned a value but never used
Lint: frontend/src/components/modals/BuySeeds.tsx#L191
'seedType' is assigned a value but never used
Lint: frontend/src/components/modals/BuySeeds.tsx#L192
'price' is assigned a value but never used
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
Lint: frontend/src/components/NewPlayer.tsx#L36
React Hook useEffect has a missing dependency: 'getBalance'. Either include it or remove the dependency array
Lint: frontend/src/components/show/ShowCoins.tsx#L30
React Hook useEffect has a missing dependency: 'farmCoinAssetID'. Either include it or remove the dependency array