Skip to content

Commit 956fcf5

Browse files
Update packages/snaps-utils/src/ui.tsx
Co-authored-by: Maarten Zuidhoorn <[email protected]>
1 parent 9e72ce7 commit 956fcf5

File tree

1 file changed

+1
-1
lines changed
  • packages/snaps-utils/src

1 file changed

+1
-1
lines changed

packages/snaps-utils/src/ui.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ export function validateJsxElements(
470470
const isUrl = isValidUrl(src);
471471
assert(
472472
!isUrl || (isUrl && hasPermission('endowment:network-access')),
473-
'Using external images is only permitted with the network access endowment.',
473+
'Using external images is only permitted with the `endowment:network-access` permission.',
474474
);
475475
break;
476476
}

0 commit comments

Comments
 (0)