From b9359bf0b27ea305883dfa8547357deabffd9f49 Mon Sep 17 00:00:00 2001
From: MTG2000
Date: Tue, 6 Sep 2022 13:39:28 +0300
Subject: [PATCH] update: add "email" field to profile
---
.../BasicProfileInfoTab.tsx | 19 +++++++++++++++++--
.../pages/ProfilePage/AboutCard/AboutCard.tsx | 9 ++++++++-
2 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/src/features/Profiles/pages/EditProfilePage/BasicProfileInfoTab/BasicProfileInfoTab.tsx b/src/features/Profiles/pages/EditProfilePage/BasicProfileInfoTab/BasicProfileInfoTab.tsx
index 0d31d32..5b5e277 100644
--- a/src/features/Profiles/pages/EditProfilePage/BasicProfileInfoTab/BasicProfileInfoTab.tsx
+++ b/src/features/Profiles/pages/EditProfilePage/BasicProfileInfoTab/BasicProfileInfoTab.tsx
@@ -206,6 +206,21 @@ export default function BasicProfileInfoTab() {
{errors.location &&
{errors.location.message}
}
+
+ Email
+
+
+
+
+ {errors.website &&
+ {errors.website.message}
+
}
Website
@@ -222,7 +237,7 @@ export default function BasicProfileInfoTab() {
{errors.website.message}
}
- Twitter
+ Twitter handle