Skip to content

Commit 48ec6b1

Browse files
authored
fix: id should not contain numbers (#1378)
1 parent ff1ca70 commit 48ec6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/logic/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function useTimer() {
2626

2727
export function makeId(length = 5) {
2828
const result = []
29-
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'
29+
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
3030
const charactersLength = characters.length
3131
for (let i = 0; i < length; i++)
3232
result.push(characters.charAt(Math.floor(Math.random() * charactersLength)))

0 commit comments

Comments
 (0)