fix: fix issue where the Task Details modal would false when changing due date
This commit is contained in:
parent
19deab0515
commit
978be2218d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user