feat: tron cash-out
This commit is contained in:
parent
bb8b6ce354
commit
7f2963bc85
15 changed files with 795 additions and 9637 deletions
|
|
@ -34,7 +34,8 @@ const mapLanguage = lang => {
|
|||
const massageCryptos = cryptos => {
|
||||
const convert = crypto => ({
|
||||
code: crypto['cryptoCode'],
|
||||
display: crypto['display']
|
||||
display: crypto['display'],
|
||||
codeDisplay: crypto['cryptoCodeDisplay'] ?? crypto['cryptoCode']
|
||||
})
|
||||
|
||||
return _.map(convert, cryptos)
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ const typeDef = gql`
|
|||
type CryptoCurrency {
|
||||
code: String!
|
||||
display: String!
|
||||
codeDisplay: String!
|
||||
}
|
||||
|
||||
type Query {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue