10 lines
356 B
TypeScript
10 lines
356 B
TypeScript
import { Validasi } from "@/app_modules/auth";
|
|
import { auth_getCodeOtpByNumber } from "@/app_modules/auth/fun/get_kode_otp_by_id";
|
|
|
|
export default async function Page({ params }: { params: { id: string } }) {
|
|
let kodeId = params.id;
|
|
const dataOtp = await auth_getCodeOtpByNumber({ kodeId: kodeId });
|
|
|
|
return <Validasi dataOtp={dataOtp as any} />;
|
|
}
|