Remove GoogleOneTap component from AuthProvider#16
Merged
Conversation
Remove duplicate GoogleOneTap render from AuthProvider — it was already rendered with the clientId prop in layout.tsx, causing a TypeScript error for the missing required prop. Also add ignoreDeprecations for TypeScript 6.0 baseUrl deprecation. https://claude.ai/code/session_014yzhbeKyJG5xg3kgGQLWQQ
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
rights-institute | 1203a38 | Commit Preview URL Branch Preview URL |
May 21 2026, 02:09 AM |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
This PR removes the GoogleOneTap component from the AuthProvider, simplifying the authentication provider to only render its children without additional authentication UI wrapper.
Key Changes
GoogleOneTapimport from AuthProvider{children}instead of wrapping them with GoogleOneTapignoreDeprecations: "6.0"to tsconfig.json to suppress TypeScript deprecation warningsImplementation Details
The AuthProvider now serves as a minimal wrapper component that simply passes through its children without injecting any authentication UI. The GoogleOneTap component has been completely decoupled from the provider, allowing it to be used independently if needed elsewhere in the application.
https://claude.ai/code/session_014yzhbeKyJG5xg3kgGQLWQQ