From 3475afe47b5c29529970bead40feb5d0db0c128d Mon Sep 17 00:00:00 2001
From: abefernan <44572727+abefernan@users.noreply.github.com>
Date: Mon, 22 May 2023 12:13:34 +0200
Subject: [PATCH] Fix details
---
components/dataViews/TransactionInfo/TxMsgDelegateDetails.tsx | 4 ++--
.../dataViews/TransactionInfo/TxMsgRedelegateDetails.tsx | 4 ++--
.../dataViews/TransactionInfo/TxMsgUndelegateDetails.tsx | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/components/dataViews/TransactionInfo/TxMsgDelegateDetails.tsx b/components/dataViews/TransactionInfo/TxMsgDelegateDetails.tsx
index 7b36a44..e0eaf45 100644
--- a/components/dataViews/TransactionInfo/TxMsgDelegateDetails.tsx
+++ b/components/dataViews/TransactionInfo/TxMsgDelegateDetails.tsx
@@ -1,5 +1,5 @@
import { useAppContext } from "../../../context/AppContext";
-import { printableCoins } from "../../../lib/displayHelpers";
+import { printableCoin } from "../../../lib/displayHelpers";
import { TxMsgDelegate } from "../../../types/txMsg";
import HashView from "../HashView";
@@ -17,7 +17,7 @@ const TxMsgDelegateDetails = ({ msg }: TxMsgDelegateDetailsProps) => {
- {printableCoins(msg.value.amount, state.chain)}
+ {printableCoin(msg.value.amount, state.chain)}
diff --git a/components/dataViews/TransactionInfo/TxMsgRedelegateDetails.tsx b/components/dataViews/TransactionInfo/TxMsgRedelegateDetails.tsx
index eb04b44..1e82065 100644
--- a/components/dataViews/TransactionInfo/TxMsgRedelegateDetails.tsx
+++ b/components/dataViews/TransactionInfo/TxMsgRedelegateDetails.tsx
@@ -1,5 +1,5 @@
import { useAppContext } from "../../../context/AppContext";
-import { printableCoins } from "../../../lib/displayHelpers";
+import { printableCoin } from "../../../lib/displayHelpers";
import { TxMsgRedelegate } from "../../../types/txMsg";
import HashView from "../HashView";
@@ -17,7 +17,7 @@ const TxMsgRedelegateDetails = ({ msg }: TxMsgRedelegateDetailsProps) => {
- {printableCoins(msg.value.amount, state.chain)}
+ {printableCoin(msg.value.amount, state.chain)}
diff --git a/components/dataViews/TransactionInfo/TxMsgUndelegateDetails.tsx b/components/dataViews/TransactionInfo/TxMsgUndelegateDetails.tsx
index 26f7bd2..cb7c182 100644
--- a/components/dataViews/TransactionInfo/TxMsgUndelegateDetails.tsx
+++ b/components/dataViews/TransactionInfo/TxMsgUndelegateDetails.tsx
@@ -1,5 +1,5 @@
import { useAppContext } from "../../../context/AppContext";
-import { printableCoins } from "../../../lib/displayHelpers";
+import { printableCoin } from "../../../lib/displayHelpers";
import { TxMsgUndelegate } from "../../../types/txMsg";
import HashView from "../HashView";
@@ -17,7 +17,7 @@ const TxMsgUndelegateDetails = ({ msg }: TxMsgUndelegateDetailsProps) => {
- {printableCoins(msg.value.amount, state.chain)}
+ {printableCoin(msg.value.amount, state.chain)}