diff --git a/packages/web/src/lib/utils.ts b/packages/web/src/lib/utils.ts index 41098d43..55b51baa 100644 --- a/packages/web/src/lib/utils.ts +++ b/packages/web/src/lib/utils.ts @@ -22,7 +22,10 @@ export function generateRandomSessionName() { } export function generateRandomUserName() { - return `Anonymous-${Math.floor(Math.random() * 100000)}`; + return uniqueNamesGenerator({ + dictionaries: [colors, animals], + separator: "-", + }); } export const store = {