#Job done
## feat - Fix bug login ### No issuue
This commit is contained in:
8
src/app/dev/auth/validasi/[id]/layout.tsx
Normal file
8
src/app/dev/auth/validasi/[id]/layout.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import { LayoutValidasi } from "@/app_modules/auth";
|
||||
import React from "react";
|
||||
|
||||
export default async function Layout({children}: {children: React.ReactNode}) {
|
||||
return<>
|
||||
<LayoutValidasi>{children}</LayoutValidasi>
|
||||
</>
|
||||
}
|
||||
9
src/app/dev/auth/validasi/[id]/page.tsx
Normal file
9
src/app/dev/auth/validasi/[id]/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Validasi } from "@/app_modules/auth";
|
||||
import { auth_getKodeOtpById } from "@/app_modules/auth/fun/get_kode_otp_by_id";
|
||||
|
||||
export default async function Page({ params }: { params: { id: string } }) {
|
||||
let kodeOtpId = params.id;
|
||||
const dataOtp = await auth_getKodeOtpById(kodeOtpId);
|
||||
|
||||
return <Validasi dataOtp={dataOtp} />;
|
||||
}
|
||||
Reference in New Issue
Block a user