fix ethBalance typing, set it to only `string` type
This commit is contained in:
parent
8bdfdb906c
commit
b709f7774a
|
@ -39,7 +39,7 @@ const StyledBlock = styled(Block)`
|
||||||
interface Props {
|
interface Props {
|
||||||
safeName?: string
|
safeName?: string
|
||||||
safeAddress: string
|
safeAddress: string
|
||||||
ethBalance?: number | string
|
ethBalance?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
const AddressInfo = ({ ethBalance, safeAddress, safeName }: Props): JSX.Element => {
|
const AddressInfo = ({ ethBalance, safeAddress, safeName }: Props): JSX.Element => {
|
||||||
|
|
|
@ -74,7 +74,7 @@ const isTxValid = (t: SafeAppTx): boolean => {
|
||||||
const confirmTransactions = (
|
const confirmTransactions = (
|
||||||
safeAddress: string,
|
safeAddress: string,
|
||||||
safeName: string,
|
safeName: string,
|
||||||
ethBalance: number | string,
|
ethBalance: string,
|
||||||
nameApp: string,
|
nameApp: string,
|
||||||
iconApp: string,
|
iconApp: string,
|
||||||
txs: Array<SafeAppTx>,
|
txs: Array<SafeAppTx>,
|
||||||
|
|
|
@ -9,7 +9,7 @@ export type SafeRecordProps = {
|
||||||
name: string
|
name: string
|
||||||
address: string
|
address: string
|
||||||
threshold: number
|
threshold: number
|
||||||
ethBalance: number | string
|
ethBalance: string
|
||||||
owners: List<{ name: string; address: string }>
|
owners: List<{ name: string; address: string }>
|
||||||
modules: List<[string, string]> | null
|
modules: List<[string, string]> | null
|
||||||
activeTokens: Set<string>
|
activeTokens: Set<string>
|
||||||
|
|
Loading…
Reference in New Issue