From 4e5c73957b88738d4240400816aa1ac03ed1ea43 Mon Sep 17 00:00:00 2001 From: rndrntwrk <180591682+rndrntwrk@users.noreply.github.com> Date: Thu, 30 Apr 2026 11:13:13 -0500 Subject: [PATCH] chore(ui): drop unused canonicalPlayback destructure from solana + bsc App MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `packages/hyperbet-solana/app/src/App.tsx` and `packages/hyperbet-bsc/app/src/App.tsx` both destructure `playback: canonicalPlayback` from `useCanonicalStreamSession()` but never read the binding. ESLint's `@typescript-eslint/no-unused-vars` rule (`--max-warnings=0`) hard-fails the `Pre-PR Ready Check` gate on every new PR that triggers a re-lint of these packages, including the in-flight `security/lvr-amm-bootstrap-authority` (#135) and `security/lvr-amm-disable-dynamic-liquidity` (#136) audit fixes. Removing the unused destructure unblocks those PRs without expanding their scope. Hook return shape is unchanged; if a future caller needs the playback field it can be re-added with a real consumer in the same diff. EVM `App.tsx` was already clean — no change there. --- packages/hyperbet-bsc/app/src/App.tsx | 1 - packages/hyperbet-solana/app/src/App.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/hyperbet-bsc/app/src/App.tsx b/packages/hyperbet-bsc/app/src/App.tsx index 22512268..60449b17 100644 --- a/packages/hyperbet-bsc/app/src/App.tsx +++ b/packages/hyperbet-bsc/app/src/App.tsx @@ -733,7 +733,6 @@ export function App() { const { session: canonicalStreamSession, rawSession: rawCanonicalStreamSession, - playback: canonicalPlayback, rendererHealth: canonicalRendererHealth, deliveryHealth: canonicalDeliveryHealth, publicReadiness: canonicalPublicReadiness, diff --git a/packages/hyperbet-solana/app/src/App.tsx b/packages/hyperbet-solana/app/src/App.tsx index 3d701d24..b1305f8a 100644 --- a/packages/hyperbet-solana/app/src/App.tsx +++ b/packages/hyperbet-solana/app/src/App.tsx @@ -762,7 +762,6 @@ export function App() { const { session: canonicalStreamSession, rawSession: rawCanonicalStreamSession, - playback: canonicalPlayback, rendererHealth: canonicalRendererHealth, deliveryHealth: canonicalDeliveryHealth, publicReadiness: canonicalPublicReadiness,