Update RoomProfile.jsx
This commit is contained in:
parent
3b01cb5329
commit
4a2bb36458
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ function RoomProfile({ roomId }) {
|
|||
|
||||
const handleAvatarUpload = async (url) => {
|
||||
if (url === null) {
|
||||
if (confirm('Are you sure you want to remove avatar?')) {
|
||||
if (confirm('Are you sure that you want to remove avatar?')) {
|
||||
await mx.sendStateEvent(roomId, 'm.room.avatar', { url }, '');
|
||||
}
|
||||
} else await mx.sendStateEvent(roomId, 'm.room.avatar', { url }, '');
|
||||
|
|
Loading…
Reference in a new issue