Repository navigation
People search: hide yourself, show email, fix Date.now() error - #7
Merged
Merged
Conversation
….now() prerender error - /people leaves the signed-in user out of the results and the count. - Cards show the person's email under their name so people with the same name can be told apart. The "(You)" label is gone. - getCurrentUser awaits connection() before the Supabase auth client reads the clock, which removes the "unstable value Date.now()" error every page logged from the header's AuthStatus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
gellosparkles
added a commit
that referenced
this pull request
Nov 4, 2026
PR #7 landed the same await connection() change in src/lib/auth.ts, and the auto-merge duplicated the import and call. Keep main's version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to Chloe's feedback on /people.
Date.now()error:getCurrentUsernow callsawait connection()before the Supabase auth client reads the clock. The error came from the header's sign-in status in the root layout, so it showed on every page, not just /people.Checked: 16/16 tests, type-check, lint, and the dev server log no longer shows the
Date.now()error on/or/people. Demo cards render with the email line at the same card height.Not in this PR:
/still logs a separate "URL data … outside<Suspense>" warning atgetSchedule()insrc/app/page.tsx. It was there before this change.🤖 Generated with Claude Code