Skip to content

Commit

Permalink
remove window from Avatar classname
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbasuil committed Nov 20, 2023
1 parent 9aa9e48 commit 8e1ecc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Styles/classNames.js
Original file line number Diff line number Diff line change
@@ -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}`;

0 comments on commit 8e1ecc2

Please sign in to comment.