Update component.jsx
Refactor size calculation.
This commit is contained in:
parent
394c410ba9
commit
0090990d46
@ -23,7 +23,7 @@ export default function Component({ service }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (response) {
|
if (response) {
|
||||||
const totalFilesizeGB = (response.FILESIZE / (1024 ** 3)).toFixed(2);
|
const totalFilesizeGB = (response.FILESIZE / 1024 ** 3).toFixed(2);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container service={service}>
|
<Container service={service}>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user