Skip to content

Commit

Permalink
Redirect old project url to home
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulyadav-57 committed Nov 10, 2023
1 parent 208aa6c commit f63a7b7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/pages/project/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { useRouter } from 'next/router';
import { useEffect } from 'react';

export default function Home() {
const router = useRouter();

useEffect(() => {
router.push('/');
}, []);

return <></>;
}

0 comments on commit f63a7b7

Please sign in to comment.