)}
{!source.loading && !hasContent && (
- You haven't uploaded anything yet. Once you upload something, it will appear here.
+ You haven't uploaded anything yet. Once you upload something, it will appear here.
)}
diff --git a/packages/web/src/generated/graphql.tsx b/packages/web/src/generated/graphql.tsx
index 41bcdd3..8caf8d6 100644
--- a/packages/web/src/generated/graphql.tsx
+++ b/packages/web/src/generated/graphql.tsx
@@ -1,5 +1,6 @@
import { gql } from '@apollo/client';
import * as Apollo from '@apollo/client';
+
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact = { [K in keyof T]: T[K] };
diff --git a/packages/web/src/helpers/encrypt.helper.ts b/packages/web/src/helpers/encrypt.helper.ts
index 841ce90..f66f57a 100644
--- a/packages/web/src/helpers/encrypt.helper.ts
+++ b/packages/web/src/helpers/encrypt.helper.ts
@@ -1,3 +1,4 @@
+/* eslint-disable unicorn/prefer-code-point */
const ENCRYPTION_ALGORITHM = 'AES-GCM';
const ENCRYPTION_LENGTH = 256;
@@ -36,7 +37,7 @@ export async function encryptContent(content: string): Promise
length: ENCRYPTION_LENGTH,
},
true,
- ['encrypt', 'decrypt']
+ ['encrypt', 'decrypt'],
);
const encryptedContent = await crypto.subtle.encrypt(
@@ -45,7 +46,7 @@ export async function encryptContent(content: string): Promise
iv,
},
key,
- new TextEncoder().encode(content)
+ new TextEncoder().encode(content),
);
const ivString = arrayBufferToBase64(iv);
@@ -68,7 +69,7 @@ export async function decryptContent(data: EncryptionResult): Promise {
name: ENCRYPTION_ALGORITHM,
},
true,
- ['encrypt', 'decrypt']
+ ['encrypt', 'decrypt'],
);
const decryptedContent = await crypto.subtle.decrypt(
@@ -77,7 +78,7 @@ export async function decryptContent(data: EncryptionResult): Promise {
iv: base64ToArrayBuffer(iv),
},
key,
- base64ToArrayBuffer(encryptedContent)
+ base64ToArrayBuffer(encryptedContent),
);
return new TextDecoder().decode(decryptedContent);
diff --git a/packages/web/src/pages/dashboard/mfa.tsx b/packages/web/src/pages/dashboard/mfa.tsx
index a169f19..386d6a7 100644
--- a/packages/web/src/pages/dashboard/mfa.tsx
+++ b/packages/web/src/pages/dashboard/mfa.tsx
@@ -120,7 +120,7 @@ export default function Generate() {
such as Google Authenticator and Authy.
- If you can't scan the QR code, you can enter the code{' '}
+ If you can't scan the QR code, you can enter the code{' '}
{result.generateOTP.secret} manually.