feat: recently veiwed tanks

This commit is contained in:
tresabhi committed 2024-11-11 10:50:15 -06:00
1 parent ea013c4df8
commit 387a67266f
9 files changed
+80 -14

No files matched your search

@@ -19,6 +19,7 @@ export interface TankopediaPersistentStore {
showSpacedArmor: boolean;
showExternalModules: boolean;
showPrimaryArmor: boolean;
recentlyViewed: number[];
sort: {
by: TankopediaSortBy;
@@ -41,6 +42,7 @@ export const TankopediaPersistent = createContextualStore(() =>
showSpacedArmor: true,
showExternalModules: true,
showPrimaryArmor: true,
recentlyViewed: [],
sort: {
by: 'meta.none',
direction: 'ascending',