refactor(enhanced-kanban): remove console log from handleSubTaskExpand function

- Removed debugging console log from the handleSubTaskExpand function to clean up the code and improve performance.
This commit is contained in:
shancds
2025-06-30 13:42:35 +05:30
parent dc3433a036
commit dee385c6db

View File

@@ -114,7 +114,6 @@ const EnhancedKanbanTaskCard: React.FC<EnhancedKanbanTaskCardProps> = React.memo
const handleSubTaskExpand = useCallback(() => {
console.log('handleSubTaskExpand', task, projectId);
if (task && task.id && projectId) {
if (task.show_sub_tasks) {
// If subtasks are already loaded, just toggle visibility