Skip to content

fix: render the Soroban invocation card with DetailRow - #309

Open
bfs2021 wants to merge 1 commit into
prism-explorer:mainfrom
bfs2021:fix/tx-page-use-detail-row
Open

bfs2021 wants to merge 1 commit into
prism-explorer:mainfrom
bfs2021:fix/tx-page-use-detail-row

Conversation

@bfs2021

@bfs2021 bfs2021 commented Nov 9, 2026

Copy link
Copy Markdown

Problem

The transaction page renders <Row> in the Soroban invocation card, but Row is no longer defined or imported since the detail helpers were merged into DetailRow (#69), so the page fails the type check and the build (Fixes #198).

Root cause

The three rows in that card were left behind by the merge: the file imports DetailRow and uses it elsewhere, but Contract, Function and Return Value still referenced the removed Row helper.

Fix

Render those three rows with DetailRow, which takes the same label / value / mono / link props. The contract row keeps its /contract/<id> link.

Testing

  • npx tsc --noEmit reports no errors for frontend/src/app/(app)/tx/[hash]/page.tsx. The remaining type errors in the repo belong to other open issues (for example the missing DetailRow import on the account page), not to this file.
  • No behaviour change beyond fixing the type error: DetailRow is the component every other detail card already renders.

…r#198)

The transaction page still rendered <Row>, which no longer exists since
the detail helpers were merged into DetailRow (prism-explorer#69), so the page failed
the type check. DetailRow takes the same label, value, mono and link
props, and the contract row keeps its /contract/<id> link.
@vercel

vercel Bot commented Nov 9, 2026

Copy link
Copy Markdown

@bfs2021 is attempting to deploy a commit to the thewealthyplace100-8633's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace the undefined Row on the transaction page with DetailRow

1 participant