From 8e1ecc2836df4b143b45c70c8d5162b169987777 Mon Sep 17 00:00:00 2001 From: Jason Basuil Date: Mon, 20 Nov 2023 13:22:13 -0800 Subject: [PATCH] remove window from Avatar classname --- src/Styles/classNames.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Styles/classNames.js b/src/Styles/classNames.js index ed8b0436..0003c103 100644 --- a/src/Styles/classNames.js +++ b/src/Styles/classNames.js @@ -1,3 +1,3 @@ const UI_MOD_OPERAND = 6; export const uiModClassName = (id) => - Number.isNaN(id) ? null : `ui-mod ui-mod--${window.parseInt(id) % UI_MOD_OPERAND}`; + Number.isNaN(id) ? null : `ui-mod ui-mod--${parseInt(id) % UI_MOD_OPERAND}`;