Make entire ledger row clickable for transaction detail
Made-with: Cursor
This commit is contained in:
@@ -244,7 +244,7 @@ export default function AccountLedgerTab() {
|
||||
</TableRow>
|
||||
|
||||
{data.entries.map(entry => (
|
||||
<TableRow key={entry.rowId} hover sx={{ cursor: 'pointer' }}>
|
||||
<TableRow key={entry.rowId} hover sx={{ cursor: 'pointer' }} onClick={() => setSelectedTxId(entry.transactionId)}>
|
||||
<TableCell
|
||||
sx={{ fontFamily: 'monospace', color: 'primary.main', fontSize: 12, cursor: 'pointer', '&:hover': { textDecoration: 'underline' } }}
|
||||
onClick={() => setSelectedTxId(entry.transactionId)}
|
||||
|
||||
Reference in New Issue
Block a user