From edce075b18f7ad33e087a8d292c5cfa3c335e3eb Mon Sep 17 00:00:00 2001
From: Mauricio Navarro Miranda
- Two-way machines allow your customers not only to buy (cash-in) but also sell cryptocurrencies (cash-out).Setup Lamassu Admin
@@ -117,7 +115,12 @@ function Footer({ next, current, steps: collection, path, tag, p }) {
direction="column"
justify="flex-start"
alignItems="flex-start">
- { setFullExample(true) }}>See full example
+ {
+ setFullExample(true)
+ }}>
+ See full example
+
+
diff --git a/new-lamassu-admin/src/pages/Wizard/components/Twilio.js b/new-lamassu-admin/src/pages/Wizard/components/Twilio.js
index 3f5d6f12..b8f53767 100644
--- a/new-lamassu-admin/src/pages/Wizard/components/Twilio.js
+++ b/new-lamassu-admin/src/pages/Wizard/components/Twilio.js
@@ -4,6 +4,9 @@ import classnames from 'classnames'
import gql from 'graphql-tag'
import React, { useEffect, useState } from 'react'
+import Tooltip from 'src/components/Tooltip'
+import { IconButton } from 'src/components/buttons'
+import { RadioGroup } from 'src/components/inputs'
import { H1, Label1, H4, P } from 'src/components/typography'
import addMachineStyles from 'src/pages/AddMachine/styles'
import {
@@ -12,12 +15,9 @@ import {
} from 'src/pages/OperatorInfo/OperatorInfo.styles'
import FormRenderer from 'src/pages/Services/FormRenderer'
import twilio from 'src/pages/Services/schemas/twilio'
-import { ReactComponent as WarningIcon } from 'src/styling/icons/warning-icon/comet.svg'
-import { RadioGroup } from 'src/components/inputs'
import styles from 'src/pages/Wizard/Radio.styles'
-import Tooltip from 'src/components/Tooltip'
-import { IconButton } from 'src/components/buttons'
import { ReactComponent as HelpIcon } from 'src/styling/icons/action/help/zodiac.svg'
+import { ReactComponent as WarningIcon } from 'src/styling/icons/warning-icon/comet.svg'
const GET_CONFIG = gql`
{
@@ -54,7 +54,7 @@ const options = [
},
{
code: 'disable',
- display: "No, not for now"
+ display: 'No, not for now'
}
]
@@ -62,7 +62,6 @@ function Twilio({ dispatch, namespace }) {
const { data, refetch } = useQuery(GET_CONFIG)
const [saveAccounts] = useMutation(SAVE_ACCOUNTS)
const accounts = data?.accounts ?? []
- const config = data?.config ?? []
const [enable, setEnable] = useState('disable')
@@ -100,13 +99,18 @@ function Twilio({ dispatch, namespace }) {
Twilio (SMS service)
Will you setup a two way machine?
-
- To get your admin up and running, you’ll only need an SMS service for cash-out transactions. If you’re using one-way machines, select “No” to skip this step for now. You can later set it up within the Lamassu Admin.
+ To get your admin up and running, you’ll only need an SMS service + for cash-out transactions. If you’re using one-way machines, + select “No” to skip this step for now. You can later set it up + within the Lamassu Admin. + -