Skip to content

TS2339: Property 'balance' does not exist on type 'Account'. #59

@ltfschoen

Description

@ltfschoen

If I fork the latest 'master' branch commit 94565c96e096a65ebdd6bfa28917c85b4132c2ca that was released on 21 Jan 2024, a day after the announcement of the updated testnet version for Vara Arena testing purposes and follow these steps in order to run it locally, when i get up to the final step shown here of running the frontend with the following:

npm i
npm run predeploy

it outputs the following error:

TS2339: Property 'balance' does not exist on type 'Account'.
    4 |
    5 | type Props = {
  > 6 |   balance: Account['balance'];
      |                    ^^^^^^^^^
    7 |   address: string;
    8 |   name: string | undefined;
    9 |   onClick?: () => void;

is the version that is being used in the updated testnet version for testing that was published at https://impulsedao.github.io/Vara-Arena/ on the 20th Jan 2024 for the testnet league live for 7 days from one of the commits in the 'master' branch? if so which commit?

i even went to Deployments at https://github.com/ImpulseDAO/Vara-Arena/deployments where the latest was https://github.com/ImpulseDAO/Vara-Arena/deployments/Production and tried checking out the 'deploy-to-vercel' branch, and running that resulted in the same error as above.

what else could be causing the error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions