Skip to content
This repository was archived by the owner on Jun 16, 2023. It is now read-only.

Commit bf1bcf2

Browse files
bio fix
1 parent aa4b51e commit bf1bcf2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/organisms/settings/Settings.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,9 @@ function ProfileSection() {
399399
if (typeof value === 'string' && value.length > 0) {
400400
setUserBio(value);
401401
userProfile.bio = value;
402+
} else {
403+
setUserBio(null);
404+
userProfile.bio = null;
402405
}
403406

404407
initMatrix.matrixClient.setAccountData('pony.house.profile', userProfile);

0 commit comments

Comments
 (0)