Skip to content

Commit ae0e797

Browse files
mzndakosergii-bo
authored andcommitted
fix: always return boolean
1 parent 347763c commit ae0e797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebViewShared.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const _passesWhitelist = (
4545
const { href, origin } = new URL(url)
4646

4747
if (origin && origin !== 'null') {
48-
return matchWithRegexList(compiledWhitelist, origin);
48+
return matchWithRegexList(compiledWhitelist, origin)
4949
}
5050

5151
return matchWithRegexList(compiledWhitelist, href)

0 commit comments

Comments
 (0)