From e9508824cd38798dd555f1c115c0530e7daee5b8 Mon Sep 17 00:00:00 2001 From: kylerankin Date: Wed, 18 Nov 2026 18:02:51 +0000 Subject: [PATCH] fix(wolves): remove unused flipViewport template ref The `flipViewport` ref in WolvesComicReader.vue is declared and bound to a template element but never read in the script. It is the single shared cause of the `test` check failing across the tracked pull requests: - #1019 (vue-tsc 3.3.14) reports TS6133 "'flipViewport' is declared but its value is never read" during typecheck. - #1023 / #1024 (eslint-config / eslint v10) report the same variable as unused during lint. The ref is dead: it appears only at its declaration and its template binding, and no script logic or test reads it. Removing both is a pure dead-code cleanup with no layout, behaviour, or style change. Verified: `npm run typecheck` (including with vue-tsc 3.3.14), `npm run lint`, and `npm run build` all pass on this branch. Hive-Run: projectbluefin/website#1046 Hive-Plan: Fix the shared `test`-check failure by removing the dead `flipViewport` template ref in src/components/wolves/WolvesComicReader.vue, which is the one code defect surfaced by the vue-tsc 3.3.14 typecheck (#1019) and the eslint v10 lint (#1023, #1024). Base branch: main. Hive-Spec: typecheck, lint, and build all pass locally; the removed ref must not be read anywhere in the component or its tests. Closes #1046 Signed-off-by: kylerankin --- src/components/wolves/WolvesComicReader.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/wolves/WolvesComicReader.vue b/src/components/wolves/WolvesComicReader.vue index d5d57ceab..931d0e10e 100644 --- a/src/components/wolves/WolvesComicReader.vue +++ b/src/components/wolves/WolvesComicReader.vue @@ -1425,9 +1425,6 @@ function handleImageError(event: Event, photo: any) { img.src = `${baseUrl}img/wallpapers/wolves/showcase/bluespeed-cluster.png` } -// Template refs ──────────────────────────────────────────────────────────── -const flipViewport = ref(null) - // Utilities ──────────────────────────────────────────────────────────────── function shuffleWallpapers(array: any[]): any[] { @@ -1495,7 +1492,6 @@ onBeforeUnmount(() => { >