feat: galoy account setup
This commit is contained in:
parent
f870b9f563
commit
688ec0bcbc
8 changed files with 87 additions and 7 deletions
|
|
@ -39,7 +39,8 @@ const SAVE_ACCOUNTS = gql`
|
|||
}
|
||||
`
|
||||
|
||||
const isConfigurable = it => R.contains(it)(['infura', 'bitgo', 'trongrid'])
|
||||
const isConfigurable = it =>
|
||||
R.contains(it)(['infura', 'bitgo', 'trongrid', 'galoy'])
|
||||
|
||||
const isLocalHosted = it =>
|
||||
R.contains(it)([
|
||||
|
|
@ -167,6 +168,19 @@ const ChooseWallet = ({ data: currentData, addData }) => {
|
|||
/>
|
||||
</>
|
||||
)}
|
||||
{selected === 'galoy' && (
|
||||
<>
|
||||
<H4 noMargin>Enter wallet information</H4>
|
||||
<FormRenderer
|
||||
value={accounts.galoy}
|
||||
save={saveWallet(selected)}
|
||||
elements={schema.galoy.elements}
|
||||
validationSchema={schema.galoy.getValidationSchema(accounts.galoy)}
|
||||
buttonLabel={'Continue'}
|
||||
buttonClass={classes.formButton}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue