diff --git a/src/app/[locale]/shariah/page.tsx b/src/app/[locale]/shariah/page.tsx index 7b166f9..9148ed5 100644 --- a/src/app/[locale]/shariah/page.tsx +++ b/src/app/[locale]/shariah/page.tsx @@ -21,10 +21,11 @@ export const metadata: Metadata = { }, }; export default async function Page({ - params: { locale }, + params, }: { params: { locale: SupportedLocales }; }) { + const { locale } = params; const [fatwa, members] = await Promise.all([ await getFatwaContentFromFalconer(locale), await getMembersContentFromFalconer(locale), diff --git a/src/components/pages/shariah-page.tsx b/src/components/pages/shariah-page.tsx index 9704341..1e03753 100644 --- a/src/components/pages/shariah-page.tsx +++ b/src/components/pages/shariah-page.tsx @@ -178,7 +178,6 @@ export function ShariahPage({ onSectionInView={handleSectionInView} initialInView > - {/*