fix: don't limit mod downloads to 10

This commit is contained in:
Dorian Niemiec 2024-09-08 09:04:26 +02:00
parent 9dc28bb679
commit e7b5a8016e

View file

@ -76,10 +76,7 @@ const ModsPage: React.FC = async () => {
</TableRow> </TableRow>
</TableHeader> </TableHeader>
<TableBody> <TableBody>
{downloads {downloads.map((download) => (
.slice(0, 10)
.reverse()
.map((download) => (
<TableRow key={download._id}> <TableRow key={download._id}>
<TableCell className="font-medium">{download.date}</TableCell> <TableCell className="font-medium">{download.date}</TableCell>
<TableCell>{download.fileName}</TableCell> <TableCell>{download.fileName}</TableCell>