Skip to content

Commit

Permalink
Merge pull request #31 from AI4Bharat/frontend
Browse files Browse the repository at this point in the history
Frontend
  • Loading branch information
ishvindersethi22 authored Dec 18, 2023
2 parents e32b230 + 14c8345 commit 346d09a
Show file tree
Hide file tree
Showing 2 changed files with 494 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/app/components/Project/TaskTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,8 @@ const excludeCols = [

const TaskTable = (props) => {
const classes = DatasetStyle();
// const { id } = useParams();
const id = 2279
// const dispatch = useDispatch();
// const navigate = useNavigate();
// let location = useLocation();
// const taskList = useSelector(
// (state) => state.getTasksByProjectId.data.result
// );

const taskList = [{
"total_count": 9,
"result": [
Expand Down Expand Up @@ -1247,9 +1241,7 @@ const userDetails= {
setLabellingStarted(true);
};

// const totalTaskCount = useSelector(
// (state) => state.getTasksByProjectId.data.total_count
// );

const totalTaskCount=9
const handleShowSearch = (col, event) => {
setSearchAnchor(event.currentTarget);
Expand Down Expand Up @@ -1733,7 +1725,6 @@ const userDetails= {
};


const emailId = localStorage.getItem("email_id");
const [password, setPassword] = useState("");
const handleConfirm = async () => {
const apiObj = new LoginAPI(emailId, password);
Expand Down
Loading

0 comments on commit 346d09a

Please sign in to comment.