mirror of
https://github.com/ameensol/pools-ui.git
synced 2026-01-10 05:47:57 -05:00
Merge pull request #8 from 409H/fix-subsetmaker-scroll
Fix: able to scroll through all the commitments
This commit is contained in:
@@ -143,10 +143,7 @@ export function SubsetMaker() {
|
||||
<Container p={0} centerContent overflowY="auto" maxH="50vh">
|
||||
{!commitment.eq(0) &&
|
||||
commitments.length > 0 &&
|
||||
(commitments.length > 30
|
||||
? commitments.slice(commitments.length - 30)
|
||||
: commitments
|
||||
).map((commitmentData, i) => {
|
||||
commitments.map((commitmentData, i) => {
|
||||
return (
|
||||
<HStack key={`row-${i}-${commitmentData.leafIndex}`} w="full">
|
||||
<Container centerContent p={0} w="10%">
|
||||
|
||||
Reference in New Issue
Block a user