fix: some linting for new proto 6

This commit is contained in:
TrèsAbhi committed 2024-10-06 00:02:50 -05:00
1 parent 96310a9d63
commit 95bb67bcf1
29 files changed
+229 -295

No files matched your search

@@ -7,7 +7,7 @@ import { Page } from './index';
export const getStaticPaths = (async () => {
const tankDefinitions = await fetchTankDefinitions();
return Object.values(tankDefinitions).map((tank) => ({
return Object.values(tankDefinitions.tanks).map((tank) => ({
params: { id: tank.id },
}));
}) satisfies GetStaticPaths;
@@ -43,13 +43,10 @@ export function Page({ id }: PageProps) {
<CalloutsSection />
<MetaSection />
<TechTreeSection />
{/* {!exempt && <AdMidSectionResponsive />} */}
<CharacteristicsSection />
{/* {!exempt && <AdMidSectionResponsive />} */}
<GameModeSection />
<VideoSection />
<HistorySection />
{/* {!exempt && <AdMidSectionResponsive mb="6" />} */}
</PageWrapper>
</Duel.Provider>
</TankopediaPersistent.Provider>