Skip to content

Commit

Permalink
Fix retrieval of navigate function (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Dec 1, 2022
1 parent 4313a38 commit 7b92dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/page/LandingView.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import ProjectContext from "providers/project/context";
import { useNavigate, useParams } from "react-router-dom";

const LandingView = ({ Component, name }) => {
const navigate = useNavigate();
const { projectId } = useParams();
const { navigate } = useNavigate();
const { isProjectOnboarded, isLoaded } = useContext(ProjectContext);

return (
Expand Down

0 comments on commit 7b92dfa

Please sign in to comment.