diff --git a/apps/web/app/certificates/[certificateUuid]/verify/page.tsx b/apps/web/app/certificates/[certificateUuid]/verify/page.tsx deleted file mode 100644 index c9a212db..00000000 --- a/apps/web/app/certificates/[certificateUuid]/verify/page.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import CertificateVerificationPage from '@components/Pages/Certificate/CertificateVerificationPage' - -interface CertificateVerifyPageProps { - params: { - certificateUuid: string - } -} - -export default function CertificateVerifyPage({ params }: CertificateVerifyPageProps) { - return -} \ No newline at end of file diff --git a/apps/web/app/certificates/layout.tsx b/apps/web/app/certificates/layout.tsx deleted file mode 100644 index 13f6b595..00000000 --- a/apps/web/app/certificates/layout.tsx +++ /dev/null @@ -1,13 +0,0 @@ -export default function CertificatesLayout({ - children, -}: { - children: React.ReactNode -}) { - return ( -
-
- {children} -
-
- ) -} \ No newline at end of file diff --git a/apps/web/app/orgs/[orgslug]/(withmenu)/certificates/[uuid]/verify/page.tsx b/apps/web/app/orgs/[orgslug]/(withmenu)/certificates/[uuid]/verify/page.tsx index be09a76d..92387ddd 100644 --- a/apps/web/app/orgs/[orgslug]/(withmenu)/certificates/[uuid]/verify/page.tsx +++ b/apps/web/app/orgs/[orgslug]/(withmenu)/certificates/[uuid]/verify/page.tsx @@ -2,13 +2,14 @@ import CertificateVerificationPage from '@components/Pages/Certificate/Certifica import React from 'react'; interface CertificateVerifyPageProps { - params: { + params: Promise<{ uuid: string; - }; + }>; } -const CertificateVerifyPage: React.FC = ({ params }) => { - return ; +const CertificateVerifyPage: React.FC = async ({ params }) => { + const { uuid } = await params; + return ; }; export default CertificateVerifyPage; \ No newline at end of file