fix: the last of the errors

This commit is contained in:
TrèsAbhi committed 2025-10-22 18:42:51 -05:00
1 parent f802b997c0
commit ac768d0897
13 files changed
+40 -30

No files matched your search

@@ -17,7 +17,7 @@ import {
import { Duel } from "../../../../stores/duel";
import { Tankopedia } from "../../../../stores/tankopedia";
import type { MaybeSkeletonComponentProps } from "../../../../types/maybeSkeletonComponentProps";
import type { TankGuide } from "./index.astro";
import type { TankGuide } from "../../../../types/tankGuide";
type PageProps = MaybeSkeletonComponentProps &
LocaleAcceptorProps & {
@@ -20,6 +20,7 @@ import { tankCharacteristics } from "../../../../core/blitzkit/tankCharacteristi
import { getStrings } from "../../../../core/i18n/getStrings";
import BaseLayout from "../../../../layouts/BaseLayout.astro";
import { genericDefaultEquipmentMatrix } from "../../../../stores/duel/constants";
import type { TankGuide } from "../../../../types/tankGuide";
import { getStaticPaths as parentGetStaticPaths } from "../index.astro";
import { Page } from "./_index";
@@ -100,12 +101,6 @@ const description = literals(
}
);
export interface TankGuide {
url: string;
description?: string;
image?: string;
}
const guideUrl = `${assertSecret(import.meta.env.PUBLIC_GUIDE_WEBSITE)}/${tank.slug}`;
let guide: TankGuide | undefined = undefined;
const guideResponse = await fetch(guideUrl);