Skip to content

fix: remove unused compare users param#2290

Open
nishupr wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
nishupr:codex/fix-compare-users-unused-param
Open

fix: remove unused compare users param#2290
nishupr wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
nishupr:codex/fix-compare-users-unused-param

Conversation

@nishupr

@nishupr nishupr commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removed the unused users destructuring from src/app/compare/[users]/page.tsx
  • Kept parseUsers(params) as the single place that awaits and parses the route params

Why

The page was awaiting params once to extract users, but that value was never used. parseUsers(params) already handles awaiting and decoding the users segment, so the extra line was dead code and added confusion.

Testing

  • Ran npm.cmd run type-check

Closes #2132

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added type:bug GSSoC type bonus: bug fix type:feature GSSoC type bonus: new feature type:performance GSSoC type bonus: performance (+15 pts) labels Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug GSSoC type bonus: bug fix type:feature GSSoC type bonus: new feature type:performance GSSoC type bonus: performance (+15 pts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] compare/[users] page: unused users variable destructured from params

1 participant