minor(ui): fix infinite scroll not working (#6177)

This commit is contained in:
Chirag Madlani 2022-07-19 12:44:55 +05:30 committed by GitHub
parent 627883f24b
commit d5cbdfd7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,6 +264,8 @@ const MyData: React.FC<MyDataProps> = ({
ref={elementRef as RefObject<HTMLDivElement>}>
{getLoader()}
</div>
{/* Add spacer to work infinite scroll smoothly */}
<div className="tw-p-4" />
</Fragment>
)}
</PageLayout>