Skip to content

Commit

Permalink
reduced time
Browse files Browse the repository at this point in the history
  • Loading branch information
davidquintr committed Apr 29, 2024
1 parent f2b5d18 commit f09e043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/components/redirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit f09e043

Please sign in to comment.