Skip to content

Commit 3c54db2

Browse files
committed
update histogram to pull granular levels
1 parent 5d36c0e commit 3c54db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eligible-charts/histogram.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function DiffHistogram({ charts }: Props) {
2929
const isNarrow = useIsNarrow();
3030
const allDiffs = useDrawState((s) => s.gameData?.meta.difficulties);
3131
const gameData = useDrawState((s) => s.gameData);
32-
const availableLevels = getAvailableLevels(gameData);
32+
const availableLevels = getAvailableLevels(gameData, true);
3333
function formatLabel(idx: number) {
3434
const n = availableLevels[idx];
3535
if (!n) return "";

0 commit comments

Comments
 (0)