-
Notifications
You must be signed in to change notification settings - Fork 170
suggested fix for quickstart react ui #1412
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
base: main
Are you sure you want to change the base?
suggested fix for quickstart react ui #1412
Conversation
|
@m4sterbunny is attempting to deploy a commit to the Consensys Team on Vercel. A member of the Team first needs to authorize it. |
|
Deployment failed with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
|
Deployment failed with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
|
Deployment failed with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
|
Deployment failed with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
|
Deployment failed with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
|
Deployment failed with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
|
Deployment failed with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
|
Deployment failed with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
|
Deployment failed with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
Motivation and Context
"Get User Info" button console output not visible
Problem
The "Get User Info" button logged data to the browser console, but the on-page console div was not visible because it was rendered outside the
loggedInViewcomponent.Solution
loggedInViewso it renders when logged in#consoleCSS class (no new CSS rules)Changes
loggedInViewuseStateto control console visibilityuseRefanduseEffectto properly update console contentTesting
Jira Link: NA
How has this been tested?
Tested local react app:
Screenshots (if appropriate):
Types of changes
Checklist: