mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 02:01:29 +10:00
- run eslint --fix across project
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user