Skip to content

Commit

Permalink
refactor(navigation): remove eslint-prettier comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aneurysmjs committed Feb 10, 2020
1 parent 1d5cc64 commit 4a7f9f4
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/app/components/core/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable prettier/prettier */
import React, { ReactElement } from 'react';
import { NavLink } from 'react-router-dom';

Expand All @@ -23,12 +22,12 @@ function Navigation(): ReactElement {
<ul className="navbar-nav mr-auto">
{links.length
? links.map(({ path, name, id }) => (
<li key={id} className="nav-item">
<NavLink to={`/${path}`} key={id} activeClassName="active" className="nav-link">
{name}
</NavLink>
</li>
))
<li key={id} className="nav-item">
<NavLink to={`/${path}`} key={id} activeClassName="active" className="nav-link">
{name}
</NavLink>
</li>
))
: null}
</ul>
</div>
Expand Down

0 comments on commit 4a7f9f4

Please sign in to comment.