Skip to content

Commit 106d6cb

Browse files
authored
fix: enable web2 user to edit profile (#1719)
fix: enable web2 user to edit profile
1 parent 7f4ef84 commit 106d6cb

4 files changed

Lines changed: 0 additions & 21 deletions

File tree

src/components/Profile/Profile.tsx

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {useStyles} from './Profile.style';
1313
import {ProfileHeaderContainer} from 'src/components/ProfileHeader/ProfileHeaderContainer';
1414
import {UserMenuContainer} from 'src/components/UserMenu';
1515
import ShowIf from 'src/components/common/show-if.component';
16-
import InfoIconYellow from 'src/images/Icons/InfoIconYellow.svg';
1716
import {FriendStatus} from 'src/interfaces/friend';
1817
import {FriendStatusProps, User} from 'src/interfaces/user';
1918
import i18n from 'src/locale';
@@ -74,23 +73,6 @@ export const Profile: React.FC<ProfileProps> = props => {
7473
<div className={style.root}>
7574
<div className={style.scroll}>
7675
<ShowIf condition={isEditing}>
77-
<ShowIf condition={!user?.fullAccess && user?.fullAccess !== undefined}>
78-
<div
79-
style={{
80-
backgroundColor: '#ffc85726',
81-
padding: 10,
82-
borderRadius: 8,
83-
fontSize: 14,
84-
display: 'flex',
85-
alignItems: 'start',
86-
marginBottom: 16,
87-
}}>
88-
<div style={{marginRight: 8, marginTop: 4}}>
89-
<InfoIconYellow />
90-
</div>
91-
<Typography>{i18n.t('LiteVersion.DisclaimerEditProfile')}</Typography>
92-
</div>
93-
</ShowIf>
9476
<ProfileEditContainer onClose={handleCloseEdit} />
9577
</ShowIf>
9678

src/locale/en.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,6 @@
12131213
"ViewTimelines":"View timelines",
12141214
"MaybeLater": "Maybe Later",
12151215
"ConnectWallet":"Connect Web 3.0 Wallet",
1216-
"DisclaimerEditProfile":"You are currently using lite version of Myriad. You can edit only the display name. Connect Web 3.0 Wallet to have all access in editing your profile",
12171216
"LimitTitlePost":"Wow! That's a lot of posting! ",
12181217
"LimitDescPost":"To prevent spam, we are temporarily limiting posts to 15 per day. You can still browse Myriad to your heart's content!"
12191218
},

src/locale/id.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,6 @@
12091209
"ViewTimelines":"Tampilkan linimasa",
12101210
"MaybeLater": "Nanti Saja",
12111211
"ConnectWallet":"Hubungkan Dompet Web 3.0",
1212-
"DisclaimerEditProfile":"Saat ini Anda menggunakan Myriad versi lite. Anda hanya dapat mengedit nama tampilan. Hubungkan Web 3.0 Wallet untuk memiliki semua akses dalam mengedit profil Anda",
12131212
"LimitTitlePost":"Wow! Sudah banyak postingannya!",
12141213
"LimitDescPost":"Untuk mencegah spam, untuk sementara kami membatasi postingan hingga 15 posting per hari. Anda masih dapat menelusuri Myriad sepuasnya!"
12151214
},

src/locale/ru.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,6 @@
11991199
"ViewTimelines":"Посмотреть сроки",
12001200
"MaybeLater": "Может быть позже",
12011201
"ConnectWallet":"Подключить веб-кошелек 3.0",
1202-
"DisclaimerEditProfile":"В настоящее время вы используете облегченную версию Myriad. Вы можете редактировать только отображаемое имя. Подключите кошелек Web 3.0, чтобы иметь полный доступ к редактированию своего профиля",
12031202
"LimitTitlePost":"Ух ты! Это очень много постов!",
12041203
"LimitDescPost":"Чтобы предотвратить спам, мы временно ограничиваем сообщения до 15 в день. Вы по-прежнему можете просматривать Myriad сколько душе угодно!"
12051204
},

0 commit comments

Comments
 (0)