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 64312cd commit 45cd854Copy full SHA for 45cd854
src/index.ts
@@ -81,7 +81,7 @@ export default (
81
const the = objLeaves[pId];
82
if (the) {
83
const url = URL.createObjectURL(new Blob()),
84
- [id] = url.toString().split("/").reverse(),
+ [id] = url.split("/").reverse(),
85
children = the[keyChildren] as Record<string, unknown>[] | undefined,
86
index = the[keyIndex] as number,
87
siblings = the[keySiblings] as Record<string, unknown>[];
0 commit comments