Skip to content

Commit

Permalink
fix: remove unnecessary object creation processes
Browse files Browse the repository at this point in the history
  • Loading branch information
soartec-lab committed Jun 5, 2024
1 parent 805fbde commit cc654b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fetch/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ${
: ''
}
return \`${route}${queryParams ? '?${new URLSearchParams(normalizedParams).toString()}' : ''}\`
return \`${route}${queryParams ? '?${normalizedParams.toString()}' : ''}\`
}\n`;
const getUrlFnProperties = props
.filter(
Expand Down

0 comments on commit cc654b3

Please sign in to comment.