Skip to content

Commit 7b6e822

Browse files
committed
Fix key
1 parent fdf74aa commit 7b6e822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/components/PaginationWidget/PaginationWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ const PageButton = ({
102102
page === numPages ? "Last Page" : ""
103103
} Page${page}`}
104104
name="Page button"
105-
key={`Page${page}`}
106105
onClick={() => onPageClick && onPageClick(page)}
107106
>
108107
<div>{page}</div>
@@ -167,6 +166,7 @@ export const PaginationWidget = ({
167166
</Button>
168167
) : (
169168
<PageButton
169+
key={`Page${page}`}
170170
activePage={activePage}
171171
page={page}
172172
numPages={numPages}

0 commit comments

Comments
 (0)