From fea260694e4df0122ec7bbec62d5108fa92ffcfd Mon Sep 17 00:00:00 2001 From: Trevor Manz Date: Thu, 28 Sep 2023 16:36:45 -0400 Subject: [PATCH] chore: formatting --- src/core/utils/uuid.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/utils/uuid.ts b/src/core/utils/uuid.ts index c6fae74e..b5ef982b 100644 --- a/src/core/utils/uuid.ts +++ b/src/core/utils/uuid.ts @@ -1,8 +1,8 @@ // for envs where crypto.randomUUID is not available (i.e., Node). function fallback(): string { - return Math.random().toString(36).substring(2, 10); + return Math.random().toString(36).substring(2, 10); } export function uuid(): string { - return globalThis.crypto.randomUUID?.() ?? fallback(); + return globalThis.crypto.randomUUID?.() ?? fallback(); }