Update ProfileEditor.jsx
This commit is contained in:
parent
4a2bb36458
commit
a33178adac
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ function ProfileEditor({ userId }) {
|
|||
|
||||
const handleAvatarUpload = (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?')) {
|
||||
mx.setAvatarUrl('');
|
||||
setAvatarSrc(null);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue