Fix react warnings (#317)

This commit is contained in:
Infinite
2020-01-23 14:57:05 +01:00
parent 71dd939806
commit 498491e82d
6 changed files with 30 additions and 6 deletions

View File

@@ -141,7 +141,7 @@ export const WallItem: FunctionComponent<IWallItemProps> = (
ref={videoHoverHook.videoEl}
/>
<img
alt="Preview"
alt={title}
src={previewPath || screenshotPath}
onError={() => previewNotFound()}
/>