fix minor linting errors
This commit is contained in:
parent
3d42da18a8
commit
baa2c121f0
2 changed files with 3 additions and 2 deletions
|
@ -26,7 +26,7 @@ class Nav extends React.Component {
|
||||||
<ul className="nav__items-right">
|
<ul className="nav__items-right">
|
||||||
<li className="nav__item">
|
<li className="nav__item">
|
||||||
{this.props.user.authenticated && <p>Hello, {this.props.user.username}!</p>}
|
{this.props.user.authenticated && <p>Hello, {this.props.user.username}!</p>}
|
||||||
{!this.props.user.authenticated && <p><Link to='/login'>Login</Link> or <Link to='/signup'>Sign Up</Link></p>}
|
{!this.props.user.authenticated && <p><Link to="/login">Login</Link> or <Link to="/signup">Sign Up</Link></p>}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -38,7 +38,8 @@ class SignupForm extends React.Component {
|
||||||
<p className="signup-form__field">
|
<p className="signup-form__field">
|
||||||
<label
|
<label
|
||||||
className="signup-form__confirm-password-label"
|
className="signup-form__confirm-password-label"
|
||||||
htmlFor="confirm-password">
|
htmlFor="confirm-password"
|
||||||
|
>
|
||||||
Confirm Password:
|
Confirm Password:
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
|
|
Loading…
Reference in a new issue