We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug A prop (nextRoute) for FirstTimeFlow is incorrectly typed as a function, when it should be a string.
nextRoute
FirstTimeFlow
Other examples of its correct use: https://github.com/MetaMask/metamask-extension/blob/develop/ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js#L9
https://github.com/MetaMask/metamask-extension/blob/develop/ui/app/pages/first-time-flow/select-action/select-action.component.js#L13
To Reproduce
Expected behavior Prop should be typed as a string, no console errors
Screenshots
Browser details (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Fixes MetaMask#6760, correctly types nextRoute
4d31e37
Fixes #6760, correct PropTypes for nextRoute (#6761)
59d3a3d
Successfully merging a pull request may close this issue.
Describe the bug
A prop (
nextRoute
) forFirstTimeFlow
is incorrectly typed as a function, when it should be a string.Other examples of its correct use:
https://github.com/MetaMask/metamask-extension/blob/develop/ui/app/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.component.js#L9
https://github.com/MetaMask/metamask-extension/blob/develop/ui/app/pages/first-time-flow/select-action/select-action.component.js#L13
To Reproduce
Expected behavior
Prop should be typed as a string, no console errors
Screenshots
Browser details (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: