fix: ramda range now requires an int
This commit is contained in:
parent
f49b8f4f46
commit
5d15895d03
2 changed files with 2 additions and 2 deletions
|
|
@ -144,7 +144,7 @@ const CashUnitDetails = ({
|
|||
</div>
|
||||
{it !== machine.numberOfRecyclers / 2 && <VerticalLine />}
|
||||
</>
|
||||
))(R.range(1, machine.numberOfRecyclers / 2 + 1))}
|
||||
))(R.range(1, Math.ceil(machine.numberOfRecyclers / 2) + 1))}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ const getElements = (config, bills, setWizard, widths, setMachineId) => {
|
|||
<span className="h-full w-[1px] bg-comet2" />
|
||||
)}
|
||||
</>
|
||||
))(R.range(1, m.numberOfRecyclers / 2 + 1))}
|
||||
))(R.range(1, Math.ceil(m.numberOfRecyclers / 2) + 1))}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue