You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to compile.
./components/ApproxRewards.tsx:38:9
Type error: Argument of type 'string' is not assignable to parameter of type 'unknown[]'.
36 | const p = (await miningContract.call(
37 | "playerPickaxe",
38 | address
| ^
39 | )) as ContractMappingResponse;
40 |
41 | if (p.isData) {
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command "yarn run build" exited with 1
Deployment completed
BUILD_UTILS_SPAWN_1: Command "yarn run build" exited with 1
How do i fix this?
I came up with several ideas and am trying them, i will submit a pull request when i get it compiling past the lint ts error.
The text was updated successfully, but these errors were encountered:
./components/CurrentGear.tsx:35:9
Type error: Argument of type 'string' is not assignable to parameter of type 'unknown[]'.
33 | const p = (await miningContract.call(
34 | "playerPickaxe",
35 | address
| ^
36 | )) as ContractMappingResponse;
37 |
38 | // Now we have the tokenId of the equipped pickaxe, if there is one, fetch the metadata for it
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command "yarn run build" exited with 1
Deployment completed
BUILD_UTILS_SPAWN_1: Command "yarn run build" exited with 1
I am hitting a compile error on https://github.com/cleancoindev/TestGame/blob/main/application/components/ApproxRewards.tsx
it is below:
Failed to compile.
./components/ApproxRewards.tsx:38:9
Type error: Argument of type 'string' is not assignable to parameter of type 'unknown[]'.
36 | const p = (await miningContract.call(
37 | "playerPickaxe",
How do i fix this?
I came up with several ideas and am trying them, i will submit a pull request when i get it compiling past the lint ts error.
The text was updated successfully, but these errors were encountered: