From bf1cfda59ccd893b68b80ba5842ee25f476c2c74 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Fri, 27 Jan 2017 08:28:15 +0200 Subject: [PATCH] Minor fixes --- src/components/auth/PanelTransition.jsx | 3 +++ src/components/profile/ProfileForm.jsx | 2 +- src/components/profile/changePassword/ChangePassword.jsx | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/auth/PanelTransition.jsx b/src/components/auth/PanelTransition.jsx index f493455..4f438ff 100644 --- a/src/components/auth/PanelTransition.jsx +++ b/src/components/auth/PanelTransition.jsx @@ -67,6 +67,9 @@ class PanelTransition extends Component { login: PropTypes.string }).isRequired, user: userShape.isRequired, + accounts: PropTypes.shape({ + available: PropTypes.array + }), setErrors: PropTypes.func.isRequired, clearErrors: PropTypes.func.isRequired, resolve: PropTypes.func.isRequired, diff --git a/src/components/profile/ProfileForm.jsx b/src/components/profile/ProfileForm.jsx index dc2c18b..e39452d 100644 --- a/src/components/profile/ProfileForm.jsx +++ b/src/components/profile/ProfileForm.jsx @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import { FormattedMessage as Message } from 'react-intl'; import { Link } from 'react-router'; diff --git a/src/components/profile/changePassword/ChangePassword.jsx b/src/components/profile/changePassword/ChangePassword.jsx index c50f84b..b40b1fd 100644 --- a/src/components/profile/changePassword/ChangePassword.jsx +++ b/src/components/profile/changePassword/ChangePassword.jsx @@ -1,7 +1,6 @@ import React, { Component, PropTypes } from 'react'; import { FormattedMessage as Message } from 'react-intl'; -import { Link } from 'react-router'; import Helmet from 'react-helmet'; import { Input, Button, Checkbox, Form, FormModel } from 'components/ui/form';