compile tank search page

This commit is contained in:
tresabhi committed 2026-09-27 13:22:34 -05:00
1 parent d8f6a55ee4
commit 558a02b6ae
17 files changed
+54 -48

No files matched your search

@@ -1,7 +1,7 @@
import { isEqual } from "lodash-es";
import { useMemo } from "react";
import { api } from "../../api/dynamic";
import { useLocale } from "../../hooks/useLocale";
import { useStrings } from "../../hooks/useStrings";
import { TankFilters } from "../../stores/tankFilters";
import { TankopediaPersistent } from "../../stores/tankopediaPersistent";
import { TankSort } from "../../stores/tankopediaSort";
@@ -29,7 +29,8 @@ export function RecentlyViewedTanks() {
}),
[filters],
);
const { strings } = useLocale();
const strings = useStrings();
const by = TankSort.use((state) => state.by);
if (recentlyViewed.length === 0 || by !== "meta.none" || hasFilters) {