diff --git a/packages/website-ue/src/components/HomeTanks.astro b/packages/website-ue/src/components/HomeTanks.astro index 749856d87..ddd4550e9 100644 --- a/packages/website-ue/src/components/HomeTanks.astro +++ b/packages/website-ue/src/components/HomeTanks.astro @@ -15,19 +15,9 @@ interface Props { const { locale } = Astro.props; const strings = await api.strings(locale); +const popular = (await api.popularTanks()).tanks.slice(0, 8); -const popular = [ - "Concept 1B", - "Obj. 268", - "Grille 15", - "Kpz 70 Missile", - "Concept 1B", - "Concept 1B", - "Concept 1B", - "Concept 1B", - "Concept 1B", - "Concept 1B", -]; +console.log(popular.length); ---