(window.location.pathname = '/todo/' + todo._id)} text="View" />
update(todo)} text="Update" />
remove(todo._id)} text="Delete" />