Updated the Home.jsx

This commit is contained in:
Mathias Wagner 2023-08-05 21:52:29 +02:00
parent 018fc48bc2
commit 662547d244
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -8,7 +8,7 @@ import {StatusContext} from "@/common/contexts/Status";
import {useNavigate} from "react-router-dom"; import {useNavigate} from "react-router-dom";
export const Home = () => { export const Home = () => {
const backendAvailable = useContext(StatusContext); const {backendAvailable} = useContext(StatusContext);
const navigate = useNavigate(); const navigate = useNavigate();
return ( return (