Penggunaan Sejarah Tidak Ditemukan di React-Router-Dom
import { useNavigate } from 'react-router-dom';
const navigate = useNavigate();
navigate('/home');
Motionless Mole
import { useNavigate } from 'react-router-dom';
const navigate = useNavigate();
navigate('/home');