GPT-5 finding
Misleading comment: Next.js App Router searchParams is not a Promise
lowdocs-gaphigh
- apps/web/app/receipts/page.tsx
In Next.js App Router, searchParams is a plain object, not a Promise. Awaiting a non-Promise value is a no-op in JS and will work, but the comment is inaccurate and the Promise typing could propagate confusion or copy/paste into other components.
Recommendation
Correct the comment and type to `searchParams: SearchParams` and drop the unnecessary await. This avoids misleading future edits and reduces cognitive load.