summaryrefslogtreecommitdiff
path: root/src/utils/helpers.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/utils/helpers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/helpers.js b/src/utils/helpers.js
index e847c42..87cf286 100644
--- a/src/utils/helpers.js
+++ b/src/utils/helpers.js
@@ -25,7 +25,7 @@ const formatBytes = (bytes, decimals = 2) => {
}
const isInt = (value) => {
- return Number.isInteger(value);
+ return Number.isInteger(parseFloat(value));
}
export {