Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
- fix linter/codacy errors #1878
Browse files Browse the repository at this point in the history
  • Loading branch information
siemiatj committed Aug 7, 2018
1 parent 28fca4a commit e959535
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/app/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ class LoginForm extends Component {

LoginForm.propTypes = {
dispatch: PropTypes.func.isRequired,
path: PropTypes.string,
token: PropTypes.string,
};

LoginForm.contextTypes = {
Expand Down
6 changes: 5 additions & 1 deletion src/components/app/PasswordRecovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,10 @@ class PasswordRecovery extends Component {
</div>
{avatarSrc && (
<div className="text-center">
<img src={`data:image/*;base64,${avatarSrc}`} className="avatar mt-2 mb-2" />
<img
src={`data:image/*;base64,${avatarSrc}`}
className="avatar mt-2 mb-2"
/>
</div>
)}
{form.fullname && (
Expand Down Expand Up @@ -295,6 +298,7 @@ PasswordRecovery.propTypes = {
dispatch: PropTypes.func.isRequired,
path: PropTypes.string.isRequired,
token: PropTypes.string,
onResetOk: PropTypes.bool,
};

export default connect()(PasswordRecovery);
1 change: 1 addition & 0 deletions src/containers/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class Login extends Component {

Login.propTypes = {
dispatch: PropTypes.func.isRequired,
redirect: PropTypes.string,
};

export default connect()(Login);

0 comments on commit e959535

Please sign in to comment.