From 6a280982d09873c4dc5443ead13d3fba1a43c113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 27 Dec 2025 18:50:14 -0600 Subject: [PATCH] fix: remove ue code --- .../src/pages/tanks/[slug]/index.astro | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 packages/website-ue/src/pages/tanks/[slug]/index.astro diff --git a/packages/website-ue/src/pages/tanks/[slug]/index.astro b/packages/website-ue/src/pages/tanks/[slug]/index.astro deleted file mode 100644 index 2a69fa491..000000000 --- a/packages/website-ue/src/pages/tanks/[slug]/index.astro +++ /dev/null @@ -1,21 +0,0 @@ ---- -import type { GetStaticPaths } from "astro"; -import { api } from "../../../core/api/dynamic"; - -export const getStaticPaths = (async () => { - const { tanks } = await api.tanks(); - - return tanks.map((tank) => ({ - params: { slug: tank.slug }, - props: { id: tank.id }, - })); -}) satisfies GetStaticPaths; - -const { id } = Astro.props; ---- - -

Tank {id}

- - -
{JSON.stringify(await api.tank(id), null, 2)}
-