Skip to content

Commit

Permalink
merge edit/view pages (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
bukinoshita committed Jan 5, 2018
1 parent 94b62de commit c43b39f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 141 deletions.
9 changes: 2 additions & 7 deletions renderer/components/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,9 @@ const Task = ({ task, onMove, onDelete, isDone }) => {

{backBacklog}

<li>
<Link href={`/task?id=${id}`}>
<span>view</span>
</Link>
</li>
<li>
<Link href={`/edit?id=${id}`}>
<span>edit</span>
<span>view</span>
</Link>
</li>
<li onClick={() => onDelete(task)}>delete</li>
Expand Down Expand Up @@ -123,7 +118,7 @@ const Task = ({ task, onMove, onDelete, isDone }) => {
<li>
<label onClick={() => onMove(task)} />

<Link href={`/task?id=${id}`}>
<Link href={`/edit?id=${id}`}>
<div className="heading">
<div>
<h2>{title}</h2>
Expand Down
134 changes: 0 additions & 134 deletions renderer/pages/task.js

This file was deleted.

0 comments on commit c43b39f

Please sign in to comment.