fix: Add index to Pagination key for uniqueness in starter-example (#1039)

This commit is contained in:
Zackary
2025-04-09 19:57:23 +08:00
committed by GitHub
parent bd393a4c60
commit 4dfc687b2b

View File

@@ -32,7 +32,7 @@ export default function Pagination({ totalPages }: { totalPages: number }) {
return (
<PaginationNumber
key={page}
key={`${page}-${index}`}
href={createPageURL(page)}
page={page}
position={position}