diff --git a/src/routes/ResistantRow.tsx b/src/routes/ResistantRow.tsx index a60f4c5..e8602b1 100644 --- a/src/routes/ResistantRow.tsx +++ b/src/routes/ResistantRow.tsx @@ -1,14 +1,16 @@ -import {Link} from "react-router-dom"; import {Resistant} from "../Resistant"; +import {useNavigate} from "react-router"; interface Props { resistant: Resistant } export const ResistantRow = ({resistant}: Props) => { + const navigate = useNavigate() + return ( - -