diff --git a/pages/components/redirect.tsx b/pages/components/redirect.tsx index 14fd566..6434c08 100644 --- a/pages/components/redirect.tsx +++ b/pages/components/redirect.tsx @@ -11,7 +11,7 @@ export default function Redirect({href} : redirect) { useEffect(() => { const redirectTimeout = setTimeout(() => { window.location.href = "https://davidquintr.com/" + href; - }, 10000); + }, 10); return () => clearTimeout(redirectTimeout); });