src/components/Session/withEmailVerification.js
Function withEmailVerification
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const withEmailVerification = Component => {
class WithEmailVerification extends React.Component {
constructor(props) {
super(props);
Function render
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<AuthUserContext.Consumer>
{authUser =>
needsEmailVerification(authUser) ? (