refactor: shared Google sign-in hook + remove Android false advertising #4752
ccantynzcommented Jun 12, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| voxlen | Preview, Comment | Jun 12, 2026 12:01pm |
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/voxlen/pull/49
Summary
useGoogleSignInshared hook — the identicaluseGoogleLoginblock was copy-pasted across Navbar, Hero, Pricing, and CTA. Extracted into one hook, eliminating 60+ lines of duplication and ensuring all sign-in paths behave identically (including theid_tokenfallback that was missing from Hero/Pricing/CTA)./api/meplan fix (from previous session) — returns actual plan from Voxlen JWT instead of hardcoded "admin"/"free".Test plan
https://claude.ai/code/session_011MFNHeFKrhfuSrEYVgrdyr
Generated by Claude Code