Reagieren Sie Router DOM V6 GOBAVE
import { useNavigate } from "react-router-dom";
const navigate = useNavigate();
navigate(-1);
CodePadding
import { useNavigate } from "react-router-dom";
const navigate = useNavigate();
navigate(-1);