client/src/utils/requireAuth.js
/**
     * @description render - renders the child component
     *
     * @return {object} returns the view object
     *
     */
@description render - renders the child component
@return {object} returns the view object
@description render - renders the child component @return { object } returns the view object
render() {
      return (
        <ChildComponent {...this.props} />
      );
    }
render ( ) { return ( < ChildComponent { ... this . props } / > ) ; }
@description render - renders the child component
 @return {object} returns the view object
@description render - renders the child component @return { object } returns the view object