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: