- run eslint --fix across project

This commit is contained in:
Amruth Pillai
2020-07-09 00:14:13 +05:30
parent a1931f5e36
commit 9045e2983d
72 changed files with 1392 additions and 868 deletions

View File

@ -13,6 +13,6 @@ export const handleKeyDown = (event, action) => {
};
export const isFileImage = (file) => {
const acceptedImageTypes = ["image/jpeg", "image/png"];
return file && acceptedImageTypes.includes(file["type"]);
const acceptedImageTypes = ['image/jpeg', 'image/png'];
return file && acceptedImageTypes.includes(file.type);
};