eslint fixes

This commit is contained in:
Maren Süwer
2018-10-29 13:42:56 +01:00
parent 7734b68d0b
commit a9d7cceb22
11 changed files with 9 additions and 36 deletions

View File

@@ -14,7 +14,7 @@ class ImageViewer extends React.Component<Props> {
return (
<div className="has-text-centered">
<figure>
<img src={file._links.self.href} />
<img src={file._links.self.href} alt={file._links.self.href} />
</figure>
</div>
);

View File

@@ -107,7 +107,6 @@ export function getLanguage(contentType: string) {
languageType = language;
}
console.log(languageType);
return languageType;
}