Skip to content

Commit 3260466

Browse files
committed
fix comments
1 parent 0935979 commit 3260466

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

playwright/e2e/crypto/dehydration.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ test.describe("Dehydration", () => {
2828
test.skip(isDendrite, "does not yet support dehydration v2");
2929

3030
test("Verify device and reset creates dehydrated device", async ({ page, user, credentials, app }, workerInfo) => {
31-
// Verify the device by resetting the key (which will create SSSS, and dehydrated device)
31+
// Verify the device by resetting the identity key, and then set up recovery (which will create SSSS, and dehydrated device)
3232

3333
const securityTab = await app.settings.openUserSettings("Security & Privacy");
3434
await expect(securityTab.getByText("Offline device enabled")).not.toBeVisible();
3535

3636
await app.closeDialog();
3737

38-
// Reset the key
38+
// Reset the identity key
3939
const settings = await app.settings.openUserSettings("Encryption");
4040
await settings.getByRole("button", { name: "Verify this device" }).click();
4141
await page.getByRole("button", { name: "Proceed with reset" }).click();

src/components/views/dialogs/ResetIdentityDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function ResetIdentityDialog({
4444
}: ResetIdentityDialogProps): JSX.Element {
4545
const matrixClient = MatrixClientPeg.safeGet();
4646

47-
// Wrappers for ResetIdentityBody's callbacks so that onFinish gets called
47+
// Wrappers for ResetIdentityBody's callbacks so that onFinished gets called
4848
// whenever the reset is done, whether by completing successfully, or by
4949
// being cancelled
5050
const onResetWrapper: MouseEventHandler<HTMLButtonElement> = (...args) => {

0 commit comments

Comments
 (0)