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 b5f1438 commit 7d4aff0Copy full SHA for 7d4aff0
src/index.ts
@@ -84,7 +84,7 @@ export default (
84
| Record<string, unknown>[]
85
| undefined,
86
url = URL.createObjectURL(new Blob()),
87
- id = url.split("/").pop(),
+ id = url.split("/").pop() ?? crypto.randomUUID(),
88
index = the[keyIndex] as number,
89
siblings = the[keySiblings] as Record<string, unknown>[];
90
URL.revokeObjectURL(url);
0 commit comments