File tree 1 file changed +1
-10
lines changed
tasksync_frontend/src/components/Workspace/WorkspaceCol
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 1
- import React , { useEffect , useCallback } from 'react'
1
+ import React , { useEffect } from 'react'
2
2
import './index.css'
3
3
//fake data
4
4
// compone
@@ -11,7 +11,6 @@ import AddTask from '../../AddTask';
11
11
import api from '../../../common/api' ;
12
12
import EditIcon from '@mui/icons-material/Edit' ;
13
13
import { Draggable , Droppable } from 'react-beautiful-dnd' ;
14
- import PubSub from 'pubsub-js' ;
15
14
16
15
export default function WorkSpaceCol ( props ) {
17
16
@@ -21,10 +20,6 @@ export default function WorkSpaceCol(props) {
21
20
22
21
const [ isModifyingTitle , setIsModifyingTitle ] = React . useState ( false )
23
22
24
- function placeTaskToTG ( _ , { taskgroupId, task, index } ) {
25
-
26
- }
27
-
28
23
useEffect ( ( ) => {
29
24
30
25
} , [ props . mytasks ] )
@@ -42,10 +37,6 @@ export default function WorkSpaceCol(props) {
42
37
props . addOneTask ( taskgroupId , task )
43
38
}
44
39
45
- function handleClick ( ) {
46
-
47
- }
48
-
49
40
async function toggleTtitleModifyingBox ( e ) {
50
41
if ( isModifyingTitle ) {
51
42
if ( e . target . value !== props . taskgroup . title ) {
You can’t perform that action at this time.
0 commit comments