mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: don't use to reversed
This commit is contained in:
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(
|
||||
|
||||
Reference in new issue
Block a user