Skip to content

Commit

Permalink
🐝 set row key on images table
Browse files Browse the repository at this point in the history
JJ
  • Loading branch information
danyx23 committed Dec 26, 2024
1 parent a808921 commit a8e242d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion adminSiteClient/ImagesIndexPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,11 @@ export function ImageIndexPage() {
/>
<PostImageButton postImage={api.postImage} />
</Flex>
<Table columns={columns} dataSource={filteredImages} />
<Table
columns={columns}
dataSource={filteredImages}
rowKey={(x) => x.id}
/>
</main>
</NotificationContext.Provider>
</AdminLayout>
Expand Down

0 comments on commit a8e242d

Please sign in to comment.