feat: add transaction batching option to advanced wallet settings
This commit is contained in:
parent
2da14d64b3
commit
68d9d95dfa
12 changed files with 25 additions and 74 deletions
|
|
@ -7,7 +7,11 @@ import React from 'react'
|
|||
import { NamespacedTable as EditableTable } from 'src/components/editableTable'
|
||||
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
|
||||
|
||||
import { AdvancedWalletSchema, getAdvancedWalletElements } from './helper'
|
||||
import {
|
||||
WalletSchema,
|
||||
AdvancedWalletSchema,
|
||||
getAdvancedWalletElements
|
||||
} from './helper'
|
||||
|
||||
const SAVE_CONFIG = gql`
|
||||
mutation Save($config: JSONObject, $accounts: JSONObject) {
|
||||
|
|
@ -51,8 +55,9 @@ const AdvancedWallet = () => {
|
|||
enableEdit
|
||||
editWidth={174}
|
||||
save={save}
|
||||
stripeWhen={it => !WalletSchema.isValidSync(it)}
|
||||
validationSchema={AdvancedWalletSchema}
|
||||
elements={getAdvancedWalletElements(cryptoCurrencies, coinUtils)}
|
||||
elements={getAdvancedWalletElements(cryptoCurrencies, coinUtils, config)}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue