-
Notifications
You must be signed in to change notification settings - Fork 132
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
feat: 7702 FE #1245
base: main
Are you sure you want to change the base?
feat: 7702 FE #1245
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd the label graphite-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
console.log({ initialState }); | ||
// initial state is mutated | ||
setIsLoading(true); | ||
setTransactions([ |
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.
was mutating so resetting with hardcoded value, didnt think it was worth doing a deep clone.
Pull Request Checklist
yarn test
)site
folder, and guidelines for updating/adding docs can be found in the contribution guide)feat!: breaking change
)yarn lint:check
) and fix any issues? (yarn lint:write
)PR-Codex overview
This PR introduces a new
WalletTypes
enum and refactors various components to support wallet type selection. It enhances the user interface by adding aWalletTypeSwitch
and modifies components to conditionally render content based on the selected wallet type.Detailed summary
WalletTypes
enum with valuessmart
andhybrid7702
.DEFAULT_CONFIG
to setwalletType
toWalletTypes.smart
.LoadingIcon
to acceptclassName
prop.Button
component with children and className props.Configuration
component to switch wallet types.AuthCardWrapper
to render different components based onwalletType
.Wrapper7702
for handling transactions specific tohybrid7702
.UserConnectionDetails
to display wallet type and status.MintStages
andTransactions
components for better transaction handling.useMint
anduseTransactions
hooks.