mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
19 lines
387 B
TypeScript
19 lines
387 B
TypeScript
import { useRouter } from 'next/router';
|
|
import React from 'react';
|
|
|
|
const FourOhFour: React.FC = () => {
|
|
const router = useRouter();
|
|
|
|
React.useEffect(() => {
|
|
router.push('/');
|
|
}, []);
|
|
|
|
return (
|
|
<div className="flex h-full w-full items-center justify-center bg-neutral-900">
|
|
<p className="text-4xl text-white">404</p>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default FourOhFour;
|