We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3937f90 commit 5079c8dCopy full SHA for 5079c8d
components/FileUpload/SingleFileUploader.tsx
@@ -159,8 +159,8 @@ export function SingleFileUploadWithProgress({
159
{(fileWrapper.progress === 100 && task === undefined) || (task && !task.done) || isLoading ? (
160
<LinearProgress />
161
) : null}
162
- {errors.map((error) => (
163
- <Typography color="error" key={`${error.code}-${error.message}`}>
+ {errors.map((error, index) => (
+ <Typography color="error" key={`${error.code}-${error.message}-${index}`}>
164
{error.message}
165
</Typography>
166
))}
0 commit comments