Skip to content

[Fix] Remove unused context parameters from tab pages#316

Merged
JunchenMeteor merged 1 commit into
mainfrom
dev/fix/unused-context-params
Jun 20, 2026
Merged

[Fix] Remove unused context parameters from tab pages#316
JunchenMeteor merged 1 commit into
mainfrom
dev/fix/unused-context-params

Conversation

@JunchenMeteor

@JunchenMeteor JunchenMeteor commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Summary

After PR #315 (expo-router migration), lint reported unused imports and context parameters in tab pages and App.tsx.

Changes

Test Plan

  • TypeScript type check passes
  • ESLint 0 errors
  • 118 vitest tests pass

Closes #317

@JunchenMeteor JunchenMeteor added the bug Something isn't working label Jun 20, 2026
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
meteorvoice Ready Ready Preview, Comment Jun 20, 2026 4:51pm

- Remove Xunfei STT/PCM imports from App.tsx (moved to useXunfeiStt.ts in PR #315)
- Remove unused setThemeLocal, settingsLoading, authSubmitting
- Remove unused context params from home.tsx (selectScenario etc. consumed internally by HomeScreen)
- Remove unused api param from settings.tsx (created internally by SettingsScreen)
- Add block-level eslint-disable for react-hooks/exhaustive-deps in AppInner

Closes #314
@JunchenMeteor
JunchenMeteor force-pushed the dev/fix/unused-context-params branch from 4a45499 to 04ad2ec Compare June 20, 2026 16:50
@JunchenMeteor
JunchenMeteor merged commit 18b3db8 into main Jun 20, 2026
9 checks passed
@JunchenMeteor
JunchenMeteor deleted the dev/fix/unused-context-params branch July 11, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fix] Remove unused imports and context parameters from tab pages

1 participant