diff options
author | Ivan Chen <ivan@tagg.id> | 2021-04-20 18:01:40 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-04-20 18:01:40 -0400 |
commit | bb1479dfcd8daad8ef2593d4ac65a0b1239a6139 (patch) | |
tree | ca3d73f914ccacb232f54011b7d6299984e17140 /src/utils/common.ts | |
parent | c4e76811cae6cf14d5cc8daed9317f808087ed77 (diff) |
linted
Diffstat (limited to 'src/utils/common.ts')
-rw-r--r-- | src/utils/common.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/common.ts b/src/utils/common.ts index 7ae36dc6..cec0e1b5 100644 --- a/src/utils/common.ts +++ b/src/utils/common.ts @@ -73,8 +73,8 @@ export const moveCategory: ( }; export const checkImageUploadStatus = (statusMap: object) => { - for (let [key, value] of Object.entries(statusMap)) { - if (value != 'Success') { + for (const value of Object.values(statusMap)) { + if (value !== 'Success') { return false; } } |