fix: search page reset button resets the sort too now

This commit is contained in:
tresabhi committed 2024-11-12 21:11:48 -06:00
1 parent 1da517746a
commit b9d4c391fe
2 files changed
+9 -2

No files matched your search

@@ -9,7 +9,9 @@ export interface TankopediaSort {
direction: TankopediaSortDirection;
}
export const $tankopediaSort = map<TankopediaSort>({
export const initialTankopediaSort: TankopediaSort = {
by: 'meta.none',
direction: 'descending',
});
};
export const $tankopediaSort = map<TankopediaSort>(initialTankopediaSort);