Remove useless hook usage
This commit is contained in:
parent
6aceda7fe7
commit
ce7e21d20d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user