diff --git a/src/util.ts b/src/util.ts index d69fa0a..c8cddc9 100644 --- a/src/util.ts +++ b/src/util.ts @@ -407,7 +407,7 @@ export function getLinksFromMultilink(link: string): string[] { if (newSearchParams.has('p')) { newUrl.hash = '#?' + newSearchParams.toString() } else { - newUrl.hash = 'p=' + url.hash.slice(3) ?? '' + newUrl.hash = 'p=' + (url.hash.slice(3) ?? '') newUrl.search = '?' + newSearchParams.toString() } return newUrl.toString()