Update ProfileEditor.jsx

This commit is contained in:
Krishan 2022-04-17 10:26:38 +05:30 committed by GitHub
parent 4a2bb36458
commit a33178adac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}