From ce7e21d20de85d6b4e6af25a0b1db5ccce7aa47b Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Fri, 7 Jul 2023 19:03:17 +0200 Subject: [PATCH] Remove useless hook usage --- geneit_app/src/routes/FamiliesListRoute.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/geneit_app/src/routes/FamiliesListRoute.tsx b/geneit_app/src/routes/FamiliesListRoute.tsx index ef594b3..da38f01 100644 --- a/geneit_app/src/routes/FamiliesListRoute.tsx +++ b/geneit_app/src/routes/FamiliesListRoute.tsx @@ -11,7 +11,6 @@ import { Typography, } from "@mui/material"; import React from "react"; -import { useNavigate } from "react-router-dom"; import { Family, FamilyApi } from "../api/FamilyApi"; import { CreateFamilyDialog } from "../dialogs/CreateFamilyDialog"; import { JoinFamilyDialog } from "../dialogs/JoinFamilyDialog"; @@ -185,7 +184,6 @@ function FamilyCard(p: { }): React.ReactElement { const confirm = useConfirm(); const alert = useAlert(); - const navigate = useNavigate(); const leaveFamily = async () => { try {