Skip to content

fix: remove unused variables and imports causing build warnings - #346

Merged
mattqdev merged 1 commit into
physicshub:mainfrom
iamjaysingh:fix-unused-vars-warnings
Jun 7, 2026
Merged

fix: remove unused variables and imports causing build warnings#346
mattqdev merged 1 commit into
physicshub:mainfrom
iamjaysingh:fix-unused-vars-warnings

Conversation

@iamjaysingh

Copy link
Copy Markdown
Contributor

Fixes all ESLint warnings that appeared during npm run build/preview.

Changes:

  • blog/[slug]/page.jsx: removed unused imports (TheoryRenderer, Tag,
    BlogInteractions, FontAwesomeIcon, fa* icons, Link, Image) that were
    moved to BlogPostContent.jsx
  • Layout.jsx, Screen.jsx, SimulationLayout.jsx: removed unused t
    from useTranslation() destructuring
  • P5Wrapper.jsx: replaced catch(_) with catch{} to avoid unused
    parameter warning, removed unused w variable

Build now produces zero warnings.

@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

@iamjaysingh is attempting to deploy a commit to the PhysicsHub's projects Team on Vercel.

A member of the Team first needs to authorize it.

@mattqdev
mattqdev merged commit b76773e into physicshub:main Jun 7, 2026
1 of 2 checks passed
@mattqdev

mattqdev commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

Thank you!

@physicshub

Copy link
Copy Markdown
Owner

🎉 This PR is included in version 3.29.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants