fix: undefined in random places

This commit is contained in:
b1ek 2024-07-28 15:08:54 +10:00
parent b733f1f1d0
commit cd1f4e9525
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -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] ?? '')
}
}