Skip to content

Commit

Permalink
fix: fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhonghe committed Jun 27, 2023
1 parent 9d64726 commit f96a65c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const FileSelector = (props: Props) => {
}
};
return (
<div key={file.id} className={'ant-upload-list-picture-card-container'}>
<div key={file.uid || file.id} className={'ant-upload-list-picture-card-container'}>
<div className="ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card">
<div className={'ant-upload-list-item-info'}>
<span className="ant-upload-span">
Expand Down

0 comments on commit f96a65c

Please sign in to comment.