Skip to content

Commit

Permalink
Merge pull request #148 from peanutprotocol/feat/x-chain-request
Browse files Browse the repository at this point in the history
Small fix
  • Loading branch information
pawell24 authored Sep 12, 2024
2 parents 3cc222e + 83e8e8e commit af2849d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit af2849d

Please sign in to comment.