remove unused import

This commit is contained in:
fmtabbara
2021-07-23 12:18:45 +01:00
parent a11937699f
commit 613ff5da71
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -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])
}
-2
View File
@@ -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)