File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
tasksync_frontend/src/components/Workspace/WorkspaceCol Expand file tree Collapse file tree 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'
22import './index.css'
33//fake data
44// compone
@@ -11,7 +11,6 @@ import AddTask from '../../AddTask';
1111import api from '../../../common/api' ;
1212import EditIcon from '@mui/icons-material/Edit' ;
1313import { Draggable , Droppable } from 'react-beautiful-dnd' ;
14- import PubSub from 'pubsub-js' ;
1514
1615export 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 ) {
You can’t perform that action at this time.
0 commit comments