diff --git a/src/popup/views/transactionDetail.js b/src/popup/views/transactionDetail.js index cee3cb4..d24e040 100644 --- a/src/popup/views/transactionDetail.js +++ b/src/popup/views/transactionDetail.js @@ -143,11 +143,10 @@ function render() { typeEl.textContent = tx.directionLabel; typeSection.classList.remove("hidden"); } - if (headingEl) headingEl.textContent = tx.directionLabel; } else { if (typeSection) typeSection.classList.add("hidden"); - if (headingEl) headingEl.textContent = "Transaction"; } + if (headingEl) headingEl.textContent = "Transaction"; // Hide calldata and raw data sections; re-fetch if this is a contract call const calldataSection = $("tx-detail-calldata-section");