frontend/src/containers/Login.js
/**
   * @method UNSAFE_componentWillMount
   * @summary ToDo: Describe the method.
   */
@method UNSAFE_componentWillMount
@summary ToDo: Describe the method.
@method UNSAFE_componentWillMount @summary ToDo : Describe the method .
UNSAFE_componentWillMount() {
    const { logged, dispatch } = this.props;
    if (logged) {
      dispatch(push('/'));
    }
  }
UNSAFE_componentWillMount ( ) { const { logged , dispatch } = this . props ; if ( logged ) { dispatch ( push ( '/' ) ) ; } }
@method UNSAFE_componentWillMount
 @summary ToDo: Describe the method.
@method UNSAFE_componentWillMount @summary ToDo : Describe the method .