mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
chore: Update libraryStatComponent to display only the first 5 items issue #223
This commit is contained in:
@@ -42,7 +42,7 @@ function LibraryStatComponent(props) {
|
||||
</div>
|
||||
</Card.Header>
|
||||
{props.data &&
|
||||
props.data.map((item, index) => (
|
||||
props.data.slice(0,5).map((item, index) => (
|
||||
<div className="d-flex justify-content-between stat-items" key={item.Id || index}>
|
||||
|
||||
<div className="d-flex justify-content-between">
|
||||
|
||||
Reference in New Issue
Block a user