Skip to content

[Frontend · Dispute system UI] Create DisputeDetailPage — data fetching hook #193

@amina69

Description

@amina69

Epic: Dispute system UI
Labels: api, state, phase-2, frontend
Size: S (~1 day)

Description

useDisputeDetail hook with on-chain enrichment data.

Tasks

  • Create useDisputeDetail(disputeId) using useApiQuery
  • Fetch GET /disputes/:id
  • Return dispute with escrowOnChainStatus, stellarExplorerUrl, resolutionTxHash
  • MSW handler with OPEN and RESOLVED shapes
  • Unit test: data shape, 404 returns isNotFound

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions