Skip to content
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

GH-2046: Blank detailed view #580

Merged
merged 4 commits into from Jul 14, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Update propTypes

  • Loading branch information
benstrumeyer committed Jul 13, 2020
commit 9092328754cf1b73be3433b1f78dee12f8f99d40
@@ -40,9 +40,13 @@ const AccountSuccess = ({ email, is_expert }) => (
</div>
);

// PropTypes ensure we pass required props of the correct type
AppView.propTypes = {
is_expert: PropTypes.bool.isRequired,
};

AccountSuccess.defaultProps = {
email: '',
is_expert: PropTypes.bool.isRequired,
};

export default AccountSuccess;
ProTip! Use n and p to navigate between commits in a pull request.