From 605a395bf4365d5e622ffc423013317d9f0e63a3 Mon Sep 17 00:00:00 2001 From: Pooria Mehregan Date: Thu, 23 Nov 2023 16:11:24 +0100 Subject: [PATCH] fix: testing --- apps/concept-catalog/app/page.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/apps/concept-catalog/app/page.tsx b/apps/concept-catalog/app/page.tsx index eeea090e1..8d677590d 100644 --- a/apps/concept-catalog/app/page.tsx +++ b/apps/concept-catalog/app/page.tsx @@ -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;