mirror of
https://github.com/wassname/talk.git
synced 2026-08-17 11:27:52 +08:00
Fix proptypes errors in auth
This commit is contained in:
@@ -75,10 +75,10 @@ class SetUsernameDialog extends React.Component {
|
||||
SetUsernameDialog.propTypes = {
|
||||
loading: PropTypes.bool.isRequired,
|
||||
username: PropTypes.string.isRequired,
|
||||
usernameError: PropTypes.string.isRequired,
|
||||
usernameError: PropTypes.string,
|
||||
onUsernameChange: PropTypes.func.isRequired,
|
||||
onSubmit: PropTypes.func.isRequired,
|
||||
errorMessage: PropTypes.string.isRequired,
|
||||
errorMessage: PropTypes.string,
|
||||
};
|
||||
|
||||
export default SetUsernameDialog;
|
||||
|
||||
Reference in New Issue
Block a user