-
Notifications
You must be signed in to change notification settings - Fork 471
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
[Seedless Onboarding] Adjust Account center design #2673
Conversation
Branch preview✅ Deploy successful! https://account_center_mfa--walletweb.review-wallet-web.5afe.dev |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
Coverage report
Show new covered files 🐣
Test suite run success1007 tests passing in 143 suites. Report generated by 🧪jest coverage report action from 6b59e1c |
…nter-mfa # Conflicts: # src/components/common/ConnectWallet/AccountCenter.tsx
|
||
export const UNKNOWN_CHAIN_NAME = 'Unknown' | ||
|
||
const WalletOverview = ({ wallet }: { wallet: ConnectedWallet }): ReactElement => { |
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 just what WalletInfo
was before. Didn't touch any of the code in this file and its styles.
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.
Works very well 💯
I made a small suggestion for one of the unit tests but I'll already approve.
}) | ||
|
||
await waitFor(() => { | ||
expect(disconnectButton).not.toBeInTheDocument() |
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.
We should also expect that the onboard disconnectWallet mock gets called here.
28668a4
to
21ce7d2
Compare
9c232bb
to
6b59e1c
Compare
What it solves
Part of #2452
How this PR fixes it
WalletInfo
toWalletOverview
AccountCenter
into a new component calledWalletInfo
for better testabilityToDos
How to test it
Screenshots
Checklist