Chore(Deps): Update
更新 Remix 和 React 版本尝试修复
This commit is contained in:
@@ -51,7 +51,7 @@ function Pagination({ current = 3, total, size, onClick }: PaginationProps) {
|
||||
<div>
|
||||
{arr.map((item, index) => {
|
||||
if (typeof item === "string") {
|
||||
return <span className="p-2 mr-2">{item}</span>
|
||||
return <span key={index} className="p-2 mr-2">{item}</span>
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user