diff --git a/src/components/UI/TrackerModal/TrackerModal.jsx b/src/components/UI/TrackerModal/TrackerModal.jsx
index 71a85d35..1bc6535c 100644
--- a/src/components/UI/TrackerModal/TrackerModal.jsx
+++ b/src/components/UI/TrackerModal/TrackerModal.jsx
@@ -28,11 +28,10 @@ export const TrackerModal = ({
const [emailWorker, setEmailWorker] = useState("");
const [projectName, setProjectName] = useState(defautlInput);
+ const [editTitleColumn, setEditTitleColumn] = useState(titleColumn);
const [valueColumn, setValueColumn] = useState("");
const [nameProject, setNameProject] = useState("");
- // const [editTitleColumn, setEditTitleColumn] = useState(titleColumn);
-
const [valueTiket, setValueTiket] = useState("");
const [descriptionTicket, setDescriptionTicket] = useState("");
@@ -242,7 +241,7 @@ export const TrackerModal = ({
setEditTitleColumn(e.target.value)}
/>
diff --git a/src/pages/ProjectTracker/ProjectTracker.js b/src/pages/ProjectTracker/ProjectTracker.js
index 584d42b2..47a402ee 100644
--- a/src/pages/ProjectTracker/ProjectTracker.js
+++ b/src/pages/ProjectTracker/ProjectTracker.js
@@ -42,7 +42,6 @@ export const ProjectTracker = () => {
const [modalAdd, setModalAdd] = useState(false);
const [modalActiveTicket, setModalActiveTicket] = useState(false);
const [selectedTicket, setSelectedTicket] = useState({});
- const [titleEditColumn, setTitleEditColumn] = useState("");
const startWrapperIndexTest = useRef({});
const projectBoard = useSelector(getProjectBoard);
@@ -199,13 +198,6 @@ export const ProjectTracker = () => {
Проект : {projectBoard.name}
-
-
{
@@ -271,6 +263,12 @@ export const ProjectTracker = () => {
wrapperHover[column.id] ? "tasks__board__hover" : ""
}`}
>
+
{/**/}
{column.title}
@@ -304,7 +302,6 @@ export const ProjectTracker = () => {
[column.id]: false,
}));
dispatch(modalToggle("editColumn"));
- setTitleEditColumn(column.title);
setModalAdd(true);
}}
>