Skip to content

Commit

Permalink
fix: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pooriamehregan committed Nov 23, 2023
1 parent 632be66 commit 605a395
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions apps/concept-catalog/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
import { redirect } from 'next/navigation';
'use client';

const Home = async () => {
redirect(`${process.env.FDK_REGISTRATION_BASE_URI}`);
import { useParams, usePathname, useSearchParams } from 'next/navigation';

const Home = () => {
const params = useParams();
const searchParams = useSearchParams();
const pathname = usePathname();
console.log('pathname', pathname);
console.log('params', params);
console.log('searchParams', searchParams);
};

export default Home;

0 comments on commit 605a395

Please sign in to comment.