iterate PR based on feedback

pull/21833/head
Michael Telatynski 2021-09-08 17:14:51 +01:00
parent 83912daced
commit 17e0a4b3d7
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ export async function upgradeRoom(
awaitRoom = false,
): Promise<string> {
const cli = room.client;
const modal = Modal.createDialog(Spinner, null, "mx_Dialog_spinner");
const spinnerModal = Modal.createDialog(Spinner, null, "mx_Dialog_spinner");
let newRoomId: string;
try {
@ -101,6 +101,6 @@ export async function upgradeRoom(
}
}
modal.close();
spinnerModal.close();
return newRoomId;
}