feat: all coins on commissions
This commit is contained in:
parent
913d281798
commit
9595afb63a
12 changed files with 258 additions and 152 deletions
|
|
@ -195,10 +195,13 @@ const ETable = ({
|
|||
)}
|
||||
{innerData.map((it, idx) => {
|
||||
const nextElement = innerData[idx + 1]
|
||||
|
||||
const canGroup = !!groupBy && nextElement
|
||||
const isFunction = R.type(groupBy) === 'Function'
|
||||
const groupFunction = isFunction ? groupBy : R.prop(groupBy)
|
||||
|
||||
const isLastOfGroup =
|
||||
groupBy &&
|
||||
nextElement &&
|
||||
nextElement[groupBy] !== it[groupBy]
|
||||
canGroup && groupFunction(it) !== groupFunction(nextElement)
|
||||
|
||||
return (
|
||||
<Formik
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue