mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-25 01:52:45 +03:00
fix(ImageObjectPreview): img alt set to null
This commit is contained in:
parent
9c1af09bf3
commit
d7280cb480
@ -91,7 +91,7 @@ export default function ImageObjectPreview({
|
||||
<img
|
||||
css={STYLES_IMAGE}
|
||||
src={imageUrl}
|
||||
alt={`${file.name} preview`}
|
||||
alt={`${file?.name || file.filename} preview`}
|
||||
onLoad={handleOnLoaded}
|
||||
/>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user