This commit is contained in:
archer
2023-07-16 13:20:25 +08:00
parent 877aab858b
commit 98a5796592
6 changed files with 51 additions and 10 deletions

View File

@@ -1,4 +1,13 @@
import { useEffect } from 'react';
import { useRouter } from 'next/router';
function Error() {
const router = useRouter();
useEffect(() => {
setTimeout(() => {
router.replace('/app/list');
}, 2000);
}, []);
return (
<p>