Fixed dimensions not showing the names of the previous dimension

This commit is contained in:
thepaperpilot 2023-05-10 10:24:47 -05:00
parent 9dbfdef509
commit bcce0ebce3

View file

@ -694,9 +694,10 @@ export function createPlane(
{preview()}{" "}
{j === 0
? energy.displayName
: // eslint-disable-next-line @typescript-eslint/no-explicit-any
(clickables[clickables.length - 1] as any).display
.title}
: ["First", "Second", "Third", "Fourth"][j - 1] +
" " +
title +
" Dimension"}
/s
</span>
)),