From 4c079477b72f0d5d9dbad9cbe59df491dc863030 Mon Sep 17 00:00:00 2001 From: lukachi Date: Thu, 9 May 2024 16:25:42 +0300 Subject: [PATCH] fix ProposalDepositsRow deposit tx parsing, bump v --- CHANGELOG.md | 7 ++++++- package.json | 2 +- src/components/Proposal/ProposalDepositsRow.tsx | 6 ++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d702e2..1a075a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/package.json b/package.json index 44371a5..432058e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scan", - "version": "1.4.4", + "version": "1.4.5", "private": true, "gitHooks": { "pre-commit": "yarn lint", diff --git a/src/components/Proposal/ProposalDepositsRow.tsx b/src/components/Proposal/ProposalDepositsRow.tsx index 6a095b0..5f99b7d 100644 --- a/src/components/Proposal/ProposalDepositsRow.tsx +++ b/src/components/Proposal/ProposalDepositsRow.tsx @@ -31,6 +31,8 @@ export default function ProposalDepositsRow({ decimals: 2, })} ${CONFIG.DENOM.toUpperCase()}` + console.log(deposit) + return ( - {deposit?.block?.transactions[0].hash} + {deposit?.block?.transactions?.[0]?.hash} , { width: '100%',