We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 248ac48 commit 484e98cCopy full SHA for 484e98c
src/index.ts
@@ -85,7 +85,7 @@ export default (
85
| undefined,
86
index = the[keyIndex] as number,
87
siblings = the[keySiblings] as Record<string, unknown>[];
88
- const id = (Date.now() % Math.random()).toString(36).slice(2);
+ const id = Math.random().toString(36).slice(2);
89
switch (true) {
90
case !!the[keyParent]:
91
siblings.splice(index + 1, 0, { [keyId]: id });
0 commit comments