fix: fix issue where the Task Details modal would false when changing due date
This commit is contained in:
		@@ -403,9 +403,6 @@ const Details: React.FC<DetailsProps> = ({
 | 
				
			|||||||
  });
 | 
					  });
 | 
				
			||||||
  const [updateTaskComment] = useUpdateTaskCommentMutation();
 | 
					  const [updateTaskComment] = useUpdateTaskCommentMutation();
 | 
				
			||||||
  const [editableComment, setEditableComment] = useState<null | string>(null);
 | 
					  const [editableComment, setEditableComment] = useState<null | string>(null);
 | 
				
			||||||
  if (loading) {
 | 
					 | 
				
			||||||
    return null;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  if (!data) {
 | 
					  if (!data) {
 | 
				
			||||||
    return null;
 | 
					    return null;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user