Skip to content

Commit 40f277c

Browse files
Ritesh ShuklaRitesh Shukla
authored andcommitted
Fix URL
1 parent e9abb18 commit 40f277c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react-native/Libraries/Blob/URLSearchParams.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ export class URLSearchParams {
2020
.replace(/^\?/, '')
2121
.split('&')
2222
.forEach(pair => {
23-
if (!pair) return;
23+
if (!pair) {
24+
return;
25+
}
2426
const [key, value] = pair.split('=').map(decodeURIComponent);
2527
this.append(key, value);
2628
});

0 commit comments

Comments
 (0)