feat: galoy account setup

This commit is contained in:
José Oliveira 2022-04-12 17:27:38 +01:00 committed by siiky
parent f870b9f563
commit 688ec0bcbc
8 changed files with 87 additions and 7 deletions

View file

@ -1,4 +1,5 @@
import { useQuery } from '@apollo/react-hooks'
import { utils as coinUtils } from '@lamassu/coins'
import { makeStyles } from '@material-ui/core'
import gql from 'graphql-tag'
import * as R from 'ramda'
@ -34,7 +35,7 @@ const ChooseTicker = ({ data: currentData, addData }) => {
const accounts = data?.accounts ?? []
const accountsConfig = data?.accountsConfig ?? []
const coin = currentData.coin
const coin = coinUtils.getExternalCryptoCode(currentData.coin)
const tickers = getItems(accountsConfig, accounts, 'ticker', coin)
const submit = () => {