import React from "react";
import { connect } from "react-redux";
import cx from "classnames";
import { selectProject } from "../redux/actions";


const Task = ({ id, status, assigned2, projectName, description }) => (
  <li className="project-item">
 
    <span>
    {status} {assigned2} {project} {description} 
    </span>
  </li>
);

export default connect(null, { projectSelected })(Task);

