File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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 } />
You can’t perform that action at this time.
0 commit comments