This commit is contained in:
Ajay Bura
2022-05-01 20:56:30 +05:30
parent df4cad035e
commit 75fca57424
2 changed files with 41 additions and 12 deletions
+1 -1
View File
@@ -159,9 +159,9 @@ function DeleteKeyBackupDialog({ requestClose }) {
const [isDeleting, setIsDeleting] = useState(false);
const mx = initMatrix.matrixClient;
const mountStore = useStore();
mountStore.setItem(true);
const deleteBackup = async () => {
mountStore.setItem(true);
setIsDeleting(true);
try {
const backupInfo = await mx.getKeyBackupVersion();