From 613ff5da710e26feeb861cc1dccc77d12a2d1e32 Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Fri, 23 Jul 2021 12:18:45 +0100 Subject: [PATCH] remove unused import --- wallet-web/common/helpers.ts | 1 + wallet-web/hooks/useGetBalance.ts | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wallet-web/common/helpers.ts b/wallet-web/common/helpers.ts index 56f821fd1e..37380d21bc 100644 --- a/wallet-web/common/helpers.ts +++ b/wallet-web/common/helpers.ts @@ -142,6 +142,7 @@ export const basicRawCoinValueValidation = (rawAmount: string): boolean => { export const getDisplayExecGasFee = (): string => { const table = buildFeeTable(nymGasPrice(DENOM), nymGasLimits, nymGasLimits) + console.log(table) return printableCoin(table.exec.amount[0]) } diff --git a/wallet-web/hooks/useGetBalance.ts b/wallet-web/hooks/useGetBalance.ts index f562d950aa..a2de89c9b9 100644 --- a/wallet-web/hooks/useGetBalance.ts +++ b/wallet-web/hooks/useGetBalance.ts @@ -1,7 +1,6 @@ import { useCallback, useContext, useState } from 'react' import { Coin, printableCoin } from '@nymproject/nym-validator-client' import { ValidatorClientContext } from '../contexts/ValidatorClient' -import { basicRawCoinValueValidation } from '../common/helpers' export const useGetBalance = () => { const { client } = useContext(ValidatorClientContext) @@ -12,7 +11,6 @@ export const useGetBalance = () => { const getBalance = useCallback(async () => { if (client) { setIsLoading(true) - console.log(`using the context client, our address is ${client.address}`) try { const value = await client.getBalance(client.address)