build fix
This commit is contained in:
parent
961683d71a
commit
62b2af275c
1 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ export default function UploadProgress({
|
|||
<ProgressBar animated now={now} />
|
||||
</>
|
||||
)}
|
||||
{uploadErrors.length > 0 && (
|
||||
{uploadErrors && uploadErrors.length > 0 && (
|
||||
<>
|
||||
<Alert variant="danger">
|
||||
<div
|
||||
|
@ -46,8 +46,8 @@ export default function UploadProgress({
|
|||
height: '100px',
|
||||
}}
|
||||
>
|
||||
{uploadErrors.map((error) => (
|
||||
<li key={error.message}>{error.message}</li>
|
||||
{uploadErrors.map((error, index) => (
|
||||
<li key={index}>{error.message}</li>
|
||||
))}
|
||||
</div>
|
||||
</Alert>
|
||||
|
|
Loading…
Add table
Reference in a new issue