fix: undefined in random places
This commit is contained in:
parent
b733f1f1d0
commit
cd1f4e9525
|
@ -131,7 +131,7 @@ export function parseIndex<T extends Index>(
|
|||
exploded = exploded.slice(1, exploded.length)
|
||||
|
||||
for (let i = 0; i != keys.length; i++) {
|
||||
self[keys[i]] = decodeURIComponent(exploded[i])
|
||||
self[keys[i]] = decodeURIComponent(exploded[i] ?? '')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue