-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: persist login state across refreshes #1020
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
510b771
to
c18a962
Compare
c18a962
to
9ce0510
Compare
9ce0510
to
9961162
Compare
9961162
to
48311b3
Compare
showEmail: true, | ||
showExternalWallets: false, | ||
showPasskey: true, | ||
addPasskey: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is false right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or will be...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess fine to do it in another PR!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yea I think that's what Iyk and Rob are gonna tackle changing
48311b3
to
cca2633
Compare
This PR
I had to move a number of things around to enable the cookie storage on the app so that's most of this PR. That was actually the only thing missing to remove the loading flicker. I also refactored the Mint Card slightly because that was also causing a flicker. Now it always renders the mint card if you're logged in, just disables the button until minting is ready.
PR-Codex overview
This PR focuses on updating the configuration and functionality of the
AuthCardHeader
,Providers
, and various components to enhance the authentication process and state management. It also upgrades the versioning of the configuration and related components.Detailed summary
version
from8
to9
in multiple files.AuthCardHeader
to accept new props.Providers
to includeinitialState
prop.alchemyConfig
andinitialState
intoRootLayout
.MintCard
to handle loading states better.AuthCardWrapper
by removing unnecessary client checks.RootLayout
for state initialization.config.tsx
.