fix: don't use to reversed

This commit is contained in:
TrèsAbhi committed 2024-09-04 22:17:32 -05:00
1 parent b13d675692
commit 449b4f59e5
1 file changed
+1 -1
@@ -48,7 +48,7 @@ export function TechTreeSection() {
}, [master]);
const [lineIndex, setLineIndex] = useState(0);
const line = useMemo(
() => [...lines[lineIndex]].toReversed(),
() => [...lines[lineIndex]].reverse(),
[master, lineIndex],
);
const totalXp = line.reduce(