Skip to content

Commit ba9702c

Browse files
danalvrzdavisagli
andauthored
Update packages/volto-iframe-block/src/helpers/isValidUrl.js
Co-authored-by: David Glick <david@glicksoftware.com>
1 parent 8debb78 commit ba9702c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/volto-iframe-block/src/helpers/isValidUrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function isValidUrl(url, siteData) {
2222

2323
if (isEmpty(patterns)) {
2424
return true;
25-
} else if (patterns.some((pattern) => pattern.includes(props.url))) {
25+
} else if (patterns.some((pattern) => pattern.includes(url))) {
2626
return true;
2727
} else {
2828
return false;

0 commit comments

Comments
 (0)