fix: removed input from machine and coin and removed tableData composition from jsx
This commit is contained in:
parent
6b569a89c2
commit
772be35d06
2 changed files with 8 additions and 11 deletions
|
|
@ -60,6 +60,11 @@ const CommissionsList = memo(
|
|||
getCommissions(cryptoCode, deviceId, config)
|
||||
)(machinesCoinsTuples)
|
||||
|
||||
const tableData = R.compose(
|
||||
sortCommissionsBy(orderProp, machines),
|
||||
filterCommissions(coinFilter, machineFilter, machines)
|
||||
)(commissions)
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className={classes.headerLine}>
|
||||
|
|
@ -93,10 +98,7 @@ const CommissionsList = memo(
|
|||
save={saveOverrides}
|
||||
initialValues={overridesDefaults}
|
||||
validationSchema={getListCommissionsSchema()}
|
||||
data={R.compose(
|
||||
sortCommissionsBy(orderProp, machines),
|
||||
filterCommissions(coinFilter, machineFilter, machines)
|
||||
)(commissions)}
|
||||
data={tableData}
|
||||
elements={commissionsList(data, currency)}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue