fix ethBalance typing, set it to only `string` type

This commit is contained in:
fernandomg 2020-07-14 08:39:48 -03:00
parent 8bdfdb906c
commit b709f7774a
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ const StyledBlock = styled(Block)`
interface Props {
safeName?: string
safeAddress: string
ethBalance?: number | string
ethBalance?: string
}
const AddressInfo = ({ ethBalance, safeAddress, safeName }: Props): JSX.Element => {

View File

@ -74,7 +74,7 @@ const isTxValid = (t: SafeAppTx): boolean => {
const confirmTransactions = (
safeAddress: string,
safeName: string,
ethBalance: number | string,
ethBalance: string,
nameApp: string,
iconApp: string,
txs: Array<SafeAppTx>,

View File

@ -9,7 +9,7 @@ export type SafeRecordProps = {
name: string
address: string
threshold: number
ethBalance: number | string
ethBalance: string
owners: List<{ name: string; address: string }>
modules: List<[string, string]> | null
activeTokens: Set<string>