Skip to content

Commit 161e38b

Browse files
fixed these warnings
1 parent cfeb2b6 commit 161e38b

File tree

1 file changed

+1
-10
lines changed
  • tasksync_frontend/src/components/Workspace/WorkspaceCol

1 file changed

+1
-10
lines changed

tasksync_frontend/src/components/Workspace/WorkspaceCol/index.jsx

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useEffect, useCallback } from 'react'
1+
import React, { useEffect } from 'react'
22
import './index.css'
33
//fake data
44
// compone
@@ -11,7 +11,6 @@ import AddTask from '../../AddTask';
1111
import api from '../../../common/api';
1212
import EditIcon from '@mui/icons-material/Edit';
1313
import { Draggable, Droppable } from 'react-beautiful-dnd';
14-
import PubSub from 'pubsub-js';
1514

1615
export default function WorkSpaceCol(props) {
1716

@@ -21,10 +20,6 @@ export default function WorkSpaceCol(props) {
2120

2221
const [isModifyingTitle, setIsModifyingTitle] = React.useState(false)
2322

24-
function placeTaskToTG(_, { taskgroupId, task, index }) {
25-
26-
}
27-
2823
useEffect(() => {
2924

3025
}, [props.mytasks])
@@ -42,10 +37,6 @@ export default function WorkSpaceCol(props) {
4237
props.addOneTask(taskgroupId, task)
4338
}
4439

45-
function handleClick() {
46-
47-
}
48-
4940
async function toggleTtitleModifyingBox(e) {
5041
if (isModifyingTitle) {
5142
if (e.target.value !== props.taskgroup.title) {

0 commit comments

Comments
 (0)