You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zt = (r, t, e) => {
const { quotient: a } = he(t, 5);
if (r < a) return e.level0;
if (r >= a && r < 2 * a) return e.level1;
if (r >= 2 * a && r < 3 * a) return e.level2;
if (r >= 3 * a && r < 4 * a) return e.level3;
if (r > 4 * a) return e.level4;
};
if (r > 4 * a) return e.level4;
should be
if (r >= 4 * a) return e.level4;
Currently, when t = 50, 40 is returned as undefined and hence a black square.
The text was updated successfully, but these errors were encountered:
Thanks for building this package, super helpful.
Small flag:
In this function:
if (r > 4 * a) return e.level4;
should be
if (r >= 4 * a) return e.level4;
Currently, when t = 50, 40 is returned as undefined and hence a black square.
The text was updated successfully, but these errors were encountered: