+
{error && Failed to save}
)}
>
- );
+ )
}
export default WizardStep
diff --git a/new-lamassu-admin/src/pages/Wallet/WizardStep.styles.js b/new-lamassu-admin/src/pages/Wallet/WizardStep.styles.js
deleted file mode 100644
index 5ff78ac9..00000000
--- a/new-lamassu-admin/src/pages/Wallet/WizardStep.styles.js
+++ /dev/null
@@ -1,60 +0,0 @@
-import { errorColor, fontSize1, fontPrimary } from 'src/styling/variables'
-
-const LABEL_WIDTH = 150
-
-export default {
- title: {
- margin: [[0, 0, 12, 0]]
- },
- subtitle: {
- margin: [[32, 0, 21, 0]]
- },
- error: {
- color: errorColor
- },
- button: {
- marginLeft: 'auto'
- },
- submit: {
- display: 'flex',
- flexDirection: 'row',
- margin: [['auto', 0, 24]]
- },
- radioGroup: {
- flexDirection: 'row'
- },
- radioLabel: {
- width: LABEL_WIDTH,
- height: 48
- },
- radio: {
- padding: 4,
- margin: 4
- },
- setupNew: {
- display: 'flex',
- alignItems: 'center',
- height: 48
- },
- picker: {
- width: LABEL_WIDTH
- },
- horizontalAlign: {
- display: 'flex',
- flexDirection: 'row'
- },
- centerAlignment: {
- alignItems: 'center'
- },
- zeroConfLimit: {
- marginRight: 5,
- '& > div': {
- fontSize: fontSize1,
- fontFamily: fontPrimary,
- fontWeight: 300,
- '& > input': {
- padding: [[6, 0, 2]]
- }
- }
- }
-}
diff --git a/new-lamassu-admin/src/pages/Wallet/helper.jsx b/new-lamassu-admin/src/pages/Wallet/helper.jsx
index bd6d90a6..482c7d1c 100644
--- a/new-lamassu-admin/src/pages/Wallet/helper.jsx
+++ b/new-lamassu-admin/src/pages/Wallet/helper.jsx
@@ -8,15 +8,9 @@ import {
Checkbox,
NumberInput
} from 'src/components/inputs/formik'
-import { disabledColor } from 'src/styling/variables'
import { CURRENCY_MAX } from 'src/utils/constants'
import { defaultToZero } from 'src/utils/number'
-const classes = {
- editDisabled: {
- color: disabledColor
- }
-}
const filterClass = type => R.filter(it => it.class === type)
const filterCoins = ({ id }) => R.filter(it => R.contains(id)(it.cryptos))
@@ -172,7 +166,7 @@ const getAdvancedWalletElementsOverrides = (
width: 250,
view: (_, ite) => {
if (ite.cryptoCurrency !== 'BTC')
- return
{`No`}
+ return
{`No`}
return ite.allowTransactionBatching ? 'Yes' : 'No'
},
input: Checkbox,
@@ -186,7 +180,7 @@ const getAdvancedWalletElementsOverrides = (
width: 250,
view: (_, ite) => {
if (ite.cryptoCurrency !== 'BTC')
- return
{`Default`}
+ return
{`Default`}
return viewFeeMultiplier(ite.feeMultiplier)
},
input: Autocomplete,
@@ -289,7 +283,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => {
return has0Conf(row) ? (
displayName
) : (
-
{displayName}
+
{displayName}
)
},
input: Autocomplete,
@@ -309,7 +303,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => {
size: 'sm',
stripe: true,
view: (it, row) =>
- has0Conf(row) ? it :
{it},
+ has0Conf(row) ? it :
{it},
input: NumberInput,
width: 145 - widthAdjust,
inputProps: {
diff --git a/new-lamassu-admin/src/styling/global/global.css b/new-lamassu-admin/src/styling/global/global.css
index 906d56a0..30dcc720 100644
--- a/new-lamassu-admin/src/styling/global/global.css
+++ b/new-lamassu-admin/src/styling/global/global.css
@@ -20,6 +20,7 @@
--tomato: #ff584a;
+ --dust: #dddddd;
--ghost: #fafbff;
--zircon: #ebefff;
--zircon2: #dbdfed;
@@ -44,6 +45,7 @@
--color-comet2: var(--comet2);
--color-comet3: var(--comet3);
--color-tomato: var(--tomato);
+ --color--dust: var(--dust);
--color-ghost: var(--ghost);
--color-zircon: var(--zircon);
--color-zircon2: var(--zircon2);