From 36c7e0ea8953af3d7081051f155b8d5497c0f843 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Mon, 6 Jan 2025 14:51:53 +0100 Subject: [PATCH] Fix typo --- playwright/e2e/settings/encryption-user-tab/recovery.spec.ts | 2 +- src/components/views/settings/encryption/ChangeRecoveryKey.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playwright/e2e/settings/encryption-user-tab/recovery.spec.ts b/playwright/e2e/settings/encryption-user-tab/recovery.spec.ts index 01e0709d431..051e72b7714 100644 --- a/playwright/e2e/settings/encryption-user-tab/recovery.spec.ts +++ b/playwright/e2e/settings/encryption-user-tab/recovery.spec.ts @@ -80,7 +80,7 @@ test.describe("Recovery section in Encryption tab", () => { await verifySession(app, "new passphrase"); await util.deleteKeyBackup(expectedBackupVersion); - // The key backup is deleted and the user needs to set up it + // The key backup is deleted and the user needs to set it up const dialog = await util.openEncryptionTab(); const setupButton = dialog.getByRole("button", { name: "Set up recovery" }); await expect(setupButton).toBeVisible(); diff --git a/src/components/views/settings/encryption/ChangeRecoveryKey.tsx b/src/components/views/settings/encryption/ChangeRecoveryKey.tsx index aec2aef078c..dc5adb1d3c7 100644 --- a/src/components/views/settings/encryption/ChangeRecoveryKey.tsx +++ b/src/components/views/settings/encryption/ChangeRecoveryKey.tsx @@ -31,7 +31,7 @@ import { withSecretStorageKeyCache } from "../../../../SecurityManager"; * The possible states of the component. * - `inform_user`: The user is informed about the recovery key. * - `save_key_setup_flow`: The user is asked to save the new recovery key during the setup flow. - * - `save_key_change_flow`: The user is asked to save the new recovery key during the chang key flow. + * - `save_key_change_flow`: The user is asked to save the new recovery key during the change key flow. * - `confirm`: The user is asked to confirm the new recovery key. */ type State = "inform_user" | "save_key_setup_flow" | "save_key_change_flow" | "confirm";