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 {
|
||||
safeName?: string
|
||||
safeAddress: string
|
||||
ethBalance?: number | string
|
||||
ethBalance?: string
|
||||
}
|
||||
|
||||
const AddressInfo = ({ ethBalance, safeAddress, safeName }: Props): JSX.Element => {
|
||||
|
|
|
@ -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>,
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue