Skip to content

Commit

Permalink
feat: link tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
adekbadek committed May 18, 2020
1 parent ab52f67 commit 74bd271
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions client/src/components/Todos.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,11 @@ const Todos = ({ className }) => {
<Table
wrapperClassName={className}
headers={[
() =>
overflow > 0 ? (
"To-do's"
) : (
<RouteLink url={TODOS_VIEW_URL} className='underline'>
To-do's
</RouteLink>
),
() => (
<RouteLink url={TODOS_VIEW_URL} className='underline'>
To-do's
</RouteLink>
),
]}
>
{todosToDisplay.slice(0, MAX_TODOS_DISPLAYED).map(todo => (
Expand Down

0 comments on commit 74bd271

Please sign in to comment.