mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Fix react warnings (#317)
This commit is contained in:
@@ -38,7 +38,7 @@ export const GalleryList: React.FC = () => {
|
||||
<td>
|
||||
<Link to={`/galleries/${gallery.id}`}>
|
||||
{gallery.files.length > 0 ? (
|
||||
<img alt="" src={`${gallery.files[0].path}?thumb=true`} />
|
||||
<img alt={gallery.title ?? ''} src={`${gallery.files[0].path}?thumb=true`} />
|
||||
) : (
|
||||
undefined
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user