Skip to content

Commit ef7ba7e

Browse files
committed
fix: lint errors
1 parent 208ec5f commit ef7ba7e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

new-deepnotes/apps/web/src/features/pages/page-collab-crypto.password-unlock.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { randomBytes } from "node:crypto";
22

33
import {
4-
base64ToBytes,
54
bytesToBase64,
65
createKeyring,
76
createPrivateKeyring,
@@ -64,7 +63,7 @@ describe("page-collab-crypto password unlock", () => {
6463

6564
// Password-protect the group content keyring (legacy enable flow)
6665
const { passwordKey } = deriveGroupPasswordValues(groupId, password);
67-
let encryptedGroupContent = groupContentKeyring
66+
const encryptedGroupContent = groupContentKeyring
6867
.wrapSymmetric(passwordKey, {
6968
associatedData: {
7069
context: "GroupContentKeyringPasswordProtection",
@@ -152,7 +151,7 @@ describe("page-collab-crypto password unlock", () => {
152151
const groupContentKeyring = createSymmetricKeyring();
153152

154153
const { passwordKey } = deriveGroupPasswordValues(groupId, password);
155-
let encryptedGroupContent = groupContentKeyring
154+
const encryptedGroupContent = groupContentKeyring
156155
.wrapSymmetric(passwordKey, {
157156
associatedData: {
158157
context: "GroupContentKeyringPasswordProtection",

0 commit comments

Comments
 (0)