Skip to content

Commit

Permalink
Improve formatting on URLSearchParams
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixHenninger committed Jul 6, 2023
1 parent 288ebda commit ed3003c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/library/src/plugins/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ const getMetadata = () => {
}

const extractURLSearchParams = (search: string) =>
fromPairs(
Array.from(
new URLSearchParams(search).entries(),
),
)
fromPairs(Array.from(new URLSearchParams(search).entries()))

export type MetadataPluginOptions = {
location_search?: string
Expand Down

0 comments on commit ed3003c

Please sign in to comment.