fix: fix issue where the Task Details modal would false when changing due date

This commit is contained in:
Jordan Knott 2020-12-23 13:17:54 -06:00
parent 19deab0515
commit 978be2218d

View File

@ -403,9 +403,6 @@ const Details: React.FC<DetailsProps> = ({
});
const [updateTaskComment] = useUpdateTaskCommentMutation();
const [editableComment, setEditableComment] = useState<null | string>(null);
if (loading) {
return null;
}
if (!data) {
return null;
}