Skip to content

Commit 9b367a4

Browse files
committed
chore: comment out bad code
1 parent 1525dc5 commit 9b367a4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

apps/web/src/components/user-form.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ export const UserForm = ({ user, degrees }: UserFormProps) => {
9696
},
9797
);
9898

99-
const isAlternativeEmailVerified = user.alternativeEmail && !!user.alternativeEmailVerifiedAt;
99+
// TODO: fix alternative email verification status display
100+
// const isAlternativeEmailVerified = user.alternativeEmail && !!user.alternativeEmailVerifiedAt;
100101

101102
return (
102103
<Form {...form}>
@@ -108,11 +109,11 @@ export const UserForm = ({ user, degrees }: UserFormProps) => {
108109
<FormItem>
109110
<FormLabel htmlFor="alternativeEmail">
110111
Alternativ e-post
111-
{user.alternativeEmail && isAlternativeEmailVerified ? (
112+
{/* {user.alternativeEmail && isAlternativeEmailVerified ? (
112113
<span className="text-green-500"> (Bekreftet)</span>
113114
) : user.alternativeEmail ? (
114115
<span className="text-red-500"> (Ubekreftet)</span>
115-
) : null}
116+
) : null} */}
116117
</FormLabel>
117118
<FormControl>
118119
<Input id="alternativeEmail" placeholder="Din e-post" {...field} />

0 commit comments

Comments
 (0)