Skip to content

Commit

Permalink
fix ProposalDepositsRow deposit tx parsing, bump v
Browse files Browse the repository at this point in the history
  • Loading branch information
lukachi committed May 9, 2024
1 parent fc4fbc8 commit 4c07947
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning].

## [1.4.5] - 2024-05-09
### Fixed
- `ProposalDepositsRow` deposit tx parsing

## [1.4.4] - 2024-05-07
### Fixed
- Delegation page actions
Expand Down Expand Up @@ -120,7 +124,8 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic

- Initiated project

[Unreleased]: https://gitlab.com/rarimo/scan/compare/1.4.4...HEAD
[Unreleased]: https://gitlab.com/rarimo/scan/compare/1.4.5...HEAD
[1.4.5]: https://gitlab.com/rarimo/scan/compare/1.4.4...1.4.5
[1.4.4]: https://gitlab.com/rarimo/scan/compare/1.4.3...1.4.4
[1.4.3]: https://gitlab.com/rarimo/scan/compare/1.4.2...1.4.3
[1.4.2]: https://gitlab.com/rarimo/scan/compare/1.4.1...1.4.2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scan",
"version": "1.4.4",
"version": "1.4.5",
"private": true,
"gitHooks": {
"pre-commit": "yarn lint",
Expand Down
6 changes: 4 additions & 2 deletions src/components/Proposal/ProposalDepositsRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export default function ProposalDepositsRow({
decimals: 2,
})} ${CONFIG.DENOM.toUpperCase()}`

console.log(deposit)

return (
<TableRow hover role='checkbox' tabIndex={-1}>
<TableCell
Expand All @@ -54,10 +56,10 @@ export default function ProposalDepositsRow({
<MuiLink
component={Link}
href={generatePath(RoutePaths.Transaction, {
hash: `${deposit?.block?.transactions[0].hash}`,
hash: `${deposit?.block?.transactions?.[0]?.hash}`,
})}
>
{deposit?.block?.transactions[0].hash}
{deposit?.block?.transactions?.[0]?.hash}
</MuiLink>,
{
width: '100%',
Expand Down

0 comments on commit 4c07947

Please sign in to comment.