diff --git a/api/src/utils/helpers/safeRandom.ts b/api/src/utils/helpers/safeRandom.ts index 539677b..a7aa789 100644 --- a/api/src/utils/helpers/safeRandom.ts +++ b/api/src/utils/helpers/safeRandom.ts @@ -7,9 +7,9 @@ */ /** - * Return a cryptographically secure random value between 0 and 1 is desired + * Return a cryptographically secure random value between 0 and 1 * - * @returns A cryptographically secure random value between 0 and 1 is desired + * @returns A cryptographically secure random value between 0 and 1 */ export const getRadom = (): number => window.crypto.getRandomValues(new Uint32Array(1))[0] * Math.pow(2, -32); diff --git a/frontend/src/utils/safeRandom.ts b/frontend/src/utils/safeRandom.ts index 539677b..a7aa789 100644 --- a/frontend/src/utils/safeRandom.ts +++ b/frontend/src/utils/safeRandom.ts @@ -7,9 +7,9 @@ */ /** - * Return a cryptographically secure random value between 0 and 1 is desired + * Return a cryptographically secure random value between 0 and 1 * - * @returns A cryptographically secure random value between 0 and 1 is desired + * @returns A cryptographically secure random value between 0 and 1 */ export const getRadom = (): number => window.crypto.getRandomValues(new Uint32Array(1))[0] * Math.pow(2, -32);