mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 17:45:56 +08:00
Fix some comments
This commit is contained in:
@@ -4,7 +4,11 @@ import PropTypes from 'prop-types';
|
||||
import { translateError } from '../utils';
|
||||
|
||||
/**
|
||||
* WithForgotPassword provides properties `forgotPasssword`, `loading`, `errorMessage`, `success`.
|
||||
* WithForgotPassword provides properties
|
||||
* `forgotPasssword`,
|
||||
* `loading`,
|
||||
* `errorMessage`,
|
||||
* `success`.
|
||||
*/
|
||||
export default hoistStatics(WrappedComponent => {
|
||||
class WithForgotPassword extends React.Component {
|
||||
|
||||
@@ -4,7 +4,11 @@ import PropTypes from 'prop-types';
|
||||
import { translateError } from '../utils';
|
||||
|
||||
/**
|
||||
* WithResendEmailConfirmaton provides properties `forgotPasssword`, `loading`, `errorMessage`, `success`.
|
||||
* WithResendEmailConfirmaton provides properties
|
||||
* `resendEmailConfirmation`,
|
||||
* `loading`,
|
||||
* `errorMessage`,
|
||||
* `success`.
|
||||
*/
|
||||
export default hoistStatics(WrappedComponent => {
|
||||
class WithResendEmailConfirmaton extends React.Component {
|
||||
|
||||
@@ -19,7 +19,7 @@ import get from 'lodash/get';
|
||||
* `errorMessage`,
|
||||
* `requireEmailVerification`,
|
||||
* `success`,
|
||||
* `validate`.
|
||||
* `validateUsername`.
|
||||
*/
|
||||
const withSetUsername = hoistStatics(WrappedComponent => {
|
||||
class WithSetUsername extends React.Component {
|
||||
|
||||
@@ -23,7 +23,13 @@ const QUERY = gql`
|
||||
export const withSettingsQuery = withQuery(QUERY);
|
||||
|
||||
/**
|
||||
* withSignUp provides properties `signUp`, `loading`, `errorMessage`, `requireEmailVerification`, 'success', 'validate'.
|
||||
* withSignUp provides properties
|
||||
* `signUp`,
|
||||
* `loading`,
|
||||
* `errorMessage`,
|
||||
* `requireEmailVerification`,
|
||||
* `success`,
|
||||
* `validate`.
|
||||
*/
|
||||
const withSignUp = hoistStatics(WrappedComponent => {
|
||||
class WithSignUp extends React.Component {
|
||||
|
||||
Reference in New Issue
Block a user