Skip to content

Commit 484e98c

Browse files
committed
modified: src/index.ts
1 parent 248ac48 commit 484e98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default (
8585
| undefined,
8686
index = the[keyIndex] as number,
8787
siblings = the[keySiblings] as Record<string, unknown>[];
88-
const id = (Date.now() % Math.random()).toString(36).slice(2);
88+
const id = Math.random().toString(36).slice(2);
8989
switch (true) {
9090
case !!the[keyParent]:
9191
siblings.splice(index + 1, 0, { [keyId]: id });

0 commit comments

Comments
 (0)