feat: persistent sorting

This commit is contained in:
TrèsAbhi committed 2023-12-04 10:25:54 -06:00
1 parent 3e952faad3
commit 5b4601b671
3 files changed
+26 -6

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import { produce } from 'immer';
import { create } from 'zustand';
import { devtools, persist } from 'zustand/middleware';
export type TankopediaSortBy = 'tier';
export type TankopediaSortBy = 'tier' | 'name';
export type TankopediaSortDirection = 'ascending' | 'descending';
type Tankopedia = {