From 8c91886de6e0fa2c410c6d2ab57e9a38743c9998 Mon Sep 17 00:00:00 2001 From: xtcnet Date: Sun, 8 Mar 2026 14:21:34 +0700 Subject: [PATCH] fix: remove unused variables causing TypeScript build failure --- frontend/src/components/SiteFooter.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/frontend/src/components/SiteFooter.tsx b/frontend/src/components/SiteFooter.tsx index 35c7387..9d23792 100644 --- a/frontend/src/components/SiteFooter.tsx +++ b/frontend/src/components/SiteFooter.tsx @@ -1,17 +1,6 @@ -import { useCheckVersion, useHealth } from "src/hooks"; import { T } from "src/locale"; export function SiteFooter() { - const health = useHealth(); - const { data: versionData } = useCheckVersion(); - - const getVersion = () => { - if (!health.data) { - return ""; - } - const v = health.data.version; - return `v${v.major}.${v.minor}.${v.revision}`; - }; return (