Skip to content

Commit

Permalink
Update page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
avsomers25 committed Nov 19, 2024
1 parent 902f469 commit 1d2b382
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,9 @@ export default function Dashboard() {
} else if (userData?.role['director']) {
return <DirectorView userData={userData} />;
} else if (userData?.role.hacker) {
if (userData?.opt_in == null) {
//FALSE SINCE WE WANT TO OPT IN ON REGISTRATION
//REMOVE ONCE OPTIN WORKING AS EXPECTED
if (false && userData?.opt_in == null) {
return (
<div className="flex flex-col items-center justify-center space-y-8 p-4">
<ProfileHeader
Expand Down

0 comments on commit 1d2b382

Please sign in to comment.