Skip to content

Tidy up codebase 🌵  #26

Open
Open
@ken-futureverse

Description

  • Stick with one way of doing conditional rendering, either use If component or {if} block
  • Remove service/cennznet/src/Transaction.ts class
  • Remove node/types and web/types, then migrate their contents to node/utils and web/utils
  • Migrate all the constants.ts to the apps/gov-website as it needs to match with env file defined there, also remove the .env.development, as what requires can be inferred from the constants.ts
  • Ensure all library type doesn't consume the constants directly, e.g fetchRequiredRegistrars.ts, Transaction.ts
  • Remove node/models
  • Change "Success" step to "Complete"

Metadata

Assignees

No one assigned

    Labels

    choreSmall tasks keep the codebase nice and tidytopic: 🌵 greenAnything related to keeping codebase clean and green

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions