diff --git a/src/ProgressPane.jsx b/src/ProgressPane.jsx index 3a0497f..5ddb47a 100644 --- a/src/ProgressPane.jsx +++ b/src/ProgressPane.jsx @@ -41,11 +41,7 @@ async function fetchData(version) { const latest = rows[rows.length - 1] - let totalBytes = latest.totalBytes - // TODO hack for JP since we haven't mapped all the segments - if (version !== "us") { - totalBytes = 3718668 - } + const totalBytes = latest.totalBytes for (const row of rows) { row.percentBytes = (row.matchingBytes / totalBytes) * 100