mirror of
https://github.com/UiO-Gaming/uiogaming.no.git
synced 2026-11-05 13:56:47 +01:00
change email field to contact info
Giving up your email shouldn't be necessary. Therefore, I have decided to change it to a general contact info field. This change is to simply reflect variable naming of the backend
This commit is contained in:
1 file changed
+8
-2
@@ -15,7 +15,7 @@ const BoardMembers = () => {
|
||||
node {
|
||||
_id
|
||||
boardMember
|
||||
email
|
||||
contactInfo
|
||||
name
|
||||
role
|
||||
image {
|
||||
@@ -53,7 +53,13 @@ const BoardMembers = () => {
|
||||
</div>
|
||||
<p>{member.bio}</p>
|
||||
<div className={styles.footer}>
|
||||
<p className="text-center">{member.email ? member.email : <i>Ikke oppgitt</i>}</p>
|
||||
<p className="text-center">
|
||||
{member.contactInfo ? (
|
||||
member.contactInfo
|
||||
) : (
|
||||
<i>Ingen kontaktinfo</i>
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
))}
|
||||
|
||||
Reference in new issue
Block a user