diff --git a/packages/utils/src/getRandomId.ts b/packages/utils/src/getRandomId.ts index bf92081ff..121e842df 100644 --- a/packages/utils/src/getRandomId.ts +++ b/packages/utils/src/getRandomId.ts @@ -1,4 +1,4 @@ -import { nanoid } from 'nanoid'; +import { nanoid } from 'nanoid/non-secure'; // By default nanoid generate an ID with 21 characters. To reduce the footprint, we default to 10 characters. // We have a higher probability for collisions, though