We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421e912 commit 3771727Copy full SHA for 3771727
src/utils/updateQueryString.js
@@ -2,7 +2,7 @@ export default function(key, value) {
2
const url = new URL(window.location)
3
const params = new URLSearchParams(url.search)
4
if (value === null || value.length === 0) params.delete(key)
5
- else params.set(key, encodeUriComponent(value))
+ else params.set(key, encodeURIComponent(value))
6
7
url.search = params.toString()
8
// eslint-disable-next-line no-restricted-globals
0 commit comments