fix: removed toSorted

This commit is contained in:
TrèsAbhi committed 2023-12-04 18:40:57 -06:00
1 parent fb4e00afc4
commit f8ef0063e4
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ export default function Page() {
? true
: tankopediaState.filters.treeTypes.includes(tank.tree_type)),
)
.toSorted((a, b) => {
.sort((a, b) => {
let diff = 0;
if (tankopediaState.sort.by === 'tier') {