Skip to content

Commit

Permalink
feat: enable register
Browse files Browse the repository at this point in the history
  • Loading branch information
secona committed Nov 9, 2024
1 parent c0a5292 commit 4a5de86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions app/register/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
// import { MenteeRegistrationModule } from "@/modules/MenteeRegistrationModule"
import { redirect } from "next/navigation"
import { MenteeRegistrationModule } from "@/modules/MenteeRegistrationModule"

const Page = () => {
return redirect('/')
// return (
// <main>
// <MenteeRegistrationModule />
// </main>
// )
return (
<main>
<MenteeRegistrationModule />
</main>
)
}

export default Page
2 changes: 1 addition & 1 deletion modules/ProfilePageModules/sections/DetailProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const DetailProfile = () => {
</Button>
)
) : (
<Link href="/register">
<Link href="/register">
<Button className="max-w-36">Registrasi Peserta</Button>
</Link>
)}
Expand Down

0 comments on commit 4a5de86

Please sign in to comment.