fix: increased width of inputs so they doesn't cut off text

fix: reenabled the cash-out display component with 500 notes max bot and top

fix: fixed repeated import on new-admin config accounts

feat: reenabled the cash-out display component
This commit is contained in:
Liordino Neto 2020-07-15 17:48:09 -03:00 committed by Josh Harvey
parent c3222362d7
commit 112544fc75
6 changed files with 78 additions and 37 deletions

View file

@ -11,7 +11,7 @@ const HIGH_BALANCE_KEY = 'cryptoHighBalance'
const useStyles = makeStyles(styles)
const CryptoBalanceAlerts = ({ section }) => {
const CryptoBalanceAlerts = ({ section, fieldWidth }) => {
const classes = useStyles()
const {
@ -37,6 +37,7 @@ const CryptoBalanceAlerts = ({ section }) => {
editing={isEditing(LOW_BALANCE_KEY)}
disabled={isDisabled(LOW_BALANCE_KEY)}
setEditing={it => setEditing(LOW_BALANCE_KEY, it)}
width={fieldWidth}
/>
<div className={classes.vertSeparator} />
@ -53,6 +54,7 @@ const CryptoBalanceAlerts = ({ section }) => {
editing={isEditing(HIGH_BALANCE_KEY)}
disabled={isDisabled(HIGH_BALANCE_KEY)}
setEditing={it => setEditing(HIGH_BALANCE_KEY, it)}
width={fieldWidth}
/>
</div>
)