mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-15 19:50:28 +03:00
Fix #514
This commit is contained in:
parent
8c227843c9
commit
3f83514427
2 changed files with 41 additions and 12 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue