aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-12-20 22:30:25 -0800
committerAdam Soltys <[email protected]>2022-12-20 22:30:25 -0800
commit615ab1d9086a028b6208dc9100593fb4feb734b9 (patch)
tree6d263156aa00242a509b8976869a6f4107eb14fe /src/lib/utils.js
parent268d71cb57ff19382ff8834ca3406dda2f79343e (diff)
downloadcoinos-ui-615ab1d9086a028b6208dc9100593fb4feb734b9.tar.gz
coinos-ui-615ab1d9086a028b6208dc9100593fb4feb734b9.zip
prettier
Diffstat (limited to 'src/lib/utils.js')
-rw-r--r--src/lib/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils.js b/src/lib/utils.js
index 02c318b6..f59b6359 100644
--- a/src/lib/utils.js
+++ b/src/lib/utils.js
@@ -9,7 +9,7 @@ export function scroll(section) {
const base = browser ? '' : PUBLIC_COINOS_URL;
export const runner = (k) => {
- return Math.round((parseInt(k[0], 16) - 1) / 15 * 7) + 1 + '.webp';
+ return Math.round(((parseInt(k[0], 16) - 1) / 15) * 7) + 1 + '.webp';
};
export const g = (url, fetch, headers) =>