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 529aa29 commit b47cbbaCopy full SHA for b47cbba
src/api/common/utils.tsx
@@ -28,9 +28,9 @@ export function getUrlParameters(
28
if (url === null) {
29
return null;
30
}
31
- let regex = /[?&]([^=#]+)=([^&#]*)/g,
32
- params = {},
33
- match;
+ const regex = /[?&]([^=#]+)=([^&#]*)/g;
+ const params = {};
+ let match;
34
while ((match = regex.exec(url))) {
35
if (match[1] !== null) {
36
//@ts-ignore
0 commit comments