Skip to content

[Code quality] useStellarNetwork hook duplicates config access pattern #489

Description

@nonsobethel0-dev

Description

The useStellarNetwork hook duplicates logic that already exists in the config utility. Multiple ways to access network config creates confusion.

Current behavior

Two different ways to get network configuration.

Expected behavior

Consolidate into a single pattern for accessing network config.

Files

  • hooks/useStellarNetwork.ts
  • lib/config.ts

Impact

Developer confusion about which method to use.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions