Merge branch 'install' of https://gitea.fool-stack.ru/Fool-Stack/Kanban-Front into install
This commit is contained in:
@@ -6,7 +6,7 @@ import './css/Mainpage.css';
|
||||
|
||||
const Mainpage = () => {
|
||||
const [tasks, setTasks] = useState([]);
|
||||
const [errorMessage, setErrorMessage] = useState(null);
|
||||
const [error_message, setErrorMessage] = useState(null);
|
||||
const [count, setCount] = useState(0);
|
||||
const [loading, setLoading] = useState(true);
|
||||
const navigate = useNavigate();
|
||||
@@ -29,7 +29,7 @@ const Mainpage = () => {
|
||||
checkSession();
|
||||
}, []);
|
||||
|
||||
const isAuthenticated = !errorMessage;
|
||||
const isAuthenticated = !error_message;
|
||||
|
||||
const formatDeadline = (deadline) => {
|
||||
if (!deadline) return 'Отсутствует';
|
||||
|
||||
Reference in New Issue
Block a user