🐛 fix(type): Fix ts type check error

This commit is contained in:
web@ppanel
2025-01-28 13:55:43 +07:00
parent 1d8c765c14
commit 3cb0629d64
3 changed files with 17 additions and 23 deletions
+2 -8
View File
@@ -24,14 +24,8 @@ export async function generateStaticParams() {
];
}
export default async function Page({
params,
}: {
params: {
platform: string;
};
}) {
const { platform } = await params;
export default async function Page({ params }: any) {
const { platform } = params;
const t = await getTranslations('auth');
return (
<Certification platform={platform}>