From 17c9b99208b3881e62275ef3e552a3c30e55939d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 22 Dec 2022 12:18:05 -0800 Subject: add message field to user profile pages --- src/lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/utils.js') diff --git a/src/lib/utils.js b/src/lib/utils.js index 14646ad0..82d5b9cf 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -11,7 +11,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.ceil((parseInt(k.substr(0, 2), 16) / 256) * 20) + '.webp'; }; export const g = (url, fetch, headers) => -- cgit v1.2.3